Message199408
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 |
|
| Date |
User |
Action |
Args |
| 2013-10-10 19:49:12 | pitrou | set | recipients:
+ pitrou, barry, christian.heimes |
| 2013-10-10 19:49:12 | pitrou | set | messageid: <[email protected]> |
| 2013-10-10 19:49:11 | pitrou | link | issue19219 messages |
| 2013-10-10 19:49:11 | pitrou | create | |
|