Author pitrou
Recipients alexandre.vassalotti, collinwinter, pitrou, rhettinger
Date 2009-04-03.09:32:02
SpamBayes Score 2.40401e-06
Marked as misclassified No
Message-id <1238751124.89.0.512638359578.issue5671@psf.upfronthosting.co.za>
In-reply-to
Content
A micro-benchmark of Collin's patch:

python -m timeit -s "import cPickle; l=range(150)" "cPickle.dumps(l,
protocol=-1)"

* before: 12.1 usec per loop
* after: 10.1 usec per loop

=> 15% faster on a favorable case
History
Date User Action Args
2009-04-03 09:32:05pitrousetrecipients: + pitrou, collinwinter, rhettinger, alexandre.vassalotti
2009-04-03 09:32:04pitrousetmessageid: <1238751124.89.0.512638359578.issue5671@psf.upfronthosting.co.za>
2009-04-03 09:32:03pitroulinkissue5671 messages
2009-04-03 09:32:03pitroucreate