Groups
Groups
Sign in
Groups
Groups
Lamp_tutorial
Conversations
Labels
About
Send feedback
Help
logic to get the interpretation time
2 views
interpretation
time
Skip to first unread message
uday3prakash
unread,
Feb 26, 2015, 1:19:12 AM
2/26/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lamp_t...@googlegroups.com
Here are two examples showing the interpretation time, comparision between range and xrange
$ python -m timeit 'for i in range(1000000):' ' pass'
10 loops, best of 3: 90.5 msec per loop
$ python -m timeit 'for i in xrange(1000000):' ' pass'
10 loops, best of 3: 51.1 msec per loop
Reply all
Reply to author
Forward
0 new messages