Author pitrou
Recipients barry, christian.heimes, pitrou
Date 2013-10-10.19:49:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381434552.02.0.780065524081.issue19219@psf.upfronthosting.co.za>
In-reply-to
Content
This patch contains assorted improvements for unmarshalling pyc files. It will also make them ~10% smaller.

$ ./python -m timeit -s "import marshal; d=marshal.dumps(tuple((i, str(i)) for i in range(1000)))" "marshal.loads(d)"

-> 3.4 unpatched: 232 usec per loop
-> 3.4 patched: 96.3 usec per loop
-> 2.7 (for reference): 76.5 usec per loop
History
Date User Action Args
2013-10-10 19:49:12pitrousetrecipients: + pitrou, barry, christian.heimes
2013-10-10 19:49:12pitrousetmessageid: <1381434552.02.0.780065524081.issue19219@psf.upfronthosting.co.za>
2013-10-10 19:49:11pitroulinkissue19219 messages
2013-10-10 19:49:11pitroucreate