Author scoder
Recipients kristjan.jonsson, mark.dickinson, pitrou, scoder
Date 2011-02-03.13:22:01
SpamBayes Score 0.00540572
Marked as misclassified No
Message-id <1296739322.67.0.744997494009.issue10227@psf.upfronthosting.co.za>
In-reply-to
Content
Here's another base line test: slicing an empty list

patched:

$ ./python -m timeit -s 'l = []' 'l[:]'
10000000 loops, best of 3: 0.0847 usec per loop

original:

$ ./python -m timeit -s 'l = []' 'l[:]'
10000000 loops, best of 3: 0.0977 usec per loop

That's about 13% less overhead.
History
Date User Action Args
2011-02-03 13:22:02scodersetrecipients: + scoder, mark.dickinson, pitrou, kristjan.jonsson
2011-02-03 13:22:02scodersetmessageid: <1296739322.67.0.744997494009.issue10227@psf.upfronthosting.co.za>
2011-02-03 13:22:01scoderlinkissue10227 messages
2011-02-03 13:22:01scodercreate