[issue14422] Pack PyASCIIObject fields to reduce memory consumption of pure ASCII strings

STINNER Victor report at bugs.python.org
Fri Mar 30 23:36:51 CEST 2012


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

> I consider it important that the data block of a string is well-aligned.

I suppose that it doesn't matter for latin1, but it can be a problem for UCS-2 and UCS-4. There are more drawbacks than advantages, so I agree to close this issue. And let's focus on enabling optimizations based on memory alignement like #14419 :-)

----------
resolution:  -> wont fix
status: open -> closed

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


More information about the Python-bugs-list mailing list