[issue1943] improved allocation of PyUnicode objects

STINNER Victor report at bugs.python.org
Thu Sep 29 22:03:47 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

The PEP 393 is based on the idea proposed in this issue (use only one memory block, not two), but also enhanced it to reduce more the memory using other technics:

 - use a different character type depending on the maximum character,
 - use a shorter structure for ASCII only strings

The PEP 393 has been accepted and merged into Python 3.3. So I consider this issue as done.

----------
nosy: +haypo
resolution:  -> fixed
status: open -> closed

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


More information about the Python-bugs-list mailing list