Guest User

Untitled

a guest
Apr 22nd, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. >>> def fill():
  2. ... for x in range(1000000):
  3. ... l = [x]*1000
  4. ...
  5. >>> x = time.time(); fill(); print time.time()-x
  6. 6.86840891838
  7. >>> def fill():
  8. ... for x in range(1000000):
  9. ... t = (x)*1000
  10. ...
  11. >>> x = time.time(); fill(); print time.time()-x
  12. 0.178025007248
Add Comment
Please, Sign In to add comment