Advertisement
Guest User

Untitled

a guest
Apr 8th, 2012
1,010
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1. import timeit
  2.  
  3. print timeit.repeat("array( 'B', map(ord,a) ).tostring()",setup="from array import array;a = list('all the world is a stage and all the men and women merely players')")
  4. print timeit.repeat("''.join(a)",setup="from array import array;a = list('all the world is a stage and all the men and women merely players')")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement