[issue16001] small ints: cache string representation

STINNER Victor report at bugs.python.org
Tue Sep 25 01:28:31 CEST 2012


STINNER Victor added the comment:

Oops, I forgot to attach the new patch: small_ints_cache_str-2.patch optimizes also str % args (copy the string when needed if the reference count is not 1).

----------
Added file: http://bugs.python.org/file27286/small_ints_cache_str-2.patch

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


More information about the Python-bugs-list mailing list