Author zbyrne
Recipients josh.r, mark.dickinson, rhettinger, serhiy.storchaka, vstinner, zbyrne
Date 2014-07-16.00:29:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405470568.09.0.772744022141.issue21955@psf.upfronthosting.co.za>
In-reply-to
Content
So I'm trying something pretty similar to Victor's pseudo-code and just using timeit to look for speedups
timeit('x+x', 'x=10', number=10000000)
before:
1.1934231410000393
1.1988609210002323
1.1998214110003573
1.206968028999654
1.2065417159997196

after:
1.1698650090002047
1.1705158909999227
1.1752884750003432
1.1744818619999933
1.1741297110002051
1.1760422649999782

Small improvement. Haven't looked at optimizing BINARY_SUBSCR yet.
History
Date User Action Args
2014-07-16 00:29:28zbyrnesetrecipients: + zbyrne, rhettinger, mark.dickinson, vstinner, serhiy.storchaka, josh.r
2014-07-16 00:29:28zbyrnesetmessageid: <1405470568.09.0.772744022141.issue21955@psf.upfronthosting.co.za>
2014-07-16 00:29:27zbyrnelinkissue21955 messages
2014-07-16 00:29:27zbyrnecreate