Serhiy Storchaka added the comment:

Here is a patch which makes pickletools.optimize() to work with the MEMOIZE 
opcode.

As side effect it also renumbers memoized values, this allows to use short 
BINPUT and BINGET instead of LONG_BINPUT and LONG_BINGET.

----------
keywords: +patch
stage: needs patch -> patch review
versions: +Python 3.4
Added file: http://bugs.python.org/file37317/pickle_optimize_memoize.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19858>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to