[issue19219] speed up marshal.loads()

Kristján Valur Jónsson report at bugs.python.org
Fri Oct 11 12:10:18 CEST 2013


Kristján Valur Jónsson added the comment:

Right, in this case, memory copying is avoided.

Regarding the memoing of 0, empty tuple, etc:
Special opcode may still benefit because it takes only one byte.  So, you save four bytes for each such case.  I think it might be worth investigating.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19219>
_______________________________________


More information about the Python-bugs-list mailing list