[Python-Dev] PEP 393: Flexible String Representation

Antoine Pitrou solipsis at pitrou.net
Wed Jan 26 00:24:12 CET 2011


On Tue, 25 Jan 2011 21:08:01 +1000
Nick Coghlan <ncoghlan at gmail.com> wrote:
> 
> One change I would propose is that rather than hiding flags in the low
> order bits of the str pointer, we expand the use of the existing
> "state" field to cover the representation information in addition to
> the interning information.

+1, by the way. The "state" field has many bits available (even if we
decide to make it a char rather than an int).

Regards

Antoine.




More information about the Python-Dev mailing list