This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients alexandre.vassalotti, serhiy.storchaka, vstinner
Date 2013-11-30.18:32:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385836338.38.0.12774925165.issue17897@psf.upfronthosting.co.za>
In-reply-to
Content
Microbenchmark:

$ ./python -c "import pickle; d = b'x' * 10**6; f = open('test.pickle3', 'wb'); pickle.dump(d, f, 3); f.close()"
$ ./python -m timeit -s "from pickle import load"  "with open('test.pickle3', 'rb') as f: load(f)"

Unpatched:  100 loops, best of 3: 7.27 msec per loop
Patched:    100 loops, best of 3: 4.87 msec per loop
History
Date User Action Args
2013-11-30 18:32:18serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, alexandre.vassalotti
2013-11-30 18:32:18serhiy.storchakasetmessageid: <1385836338.38.0.12774925165.issue17897@psf.upfronthosting.co.za>
2013-11-30 18:32:18serhiy.storchakalinkissue17897 messages
2013-11-30 18:32:18serhiy.storchakacreate