[Python-Dev] PEP 393: Flexible String Representation
solipsis at pitrou.net
Thu Jan 27 23:30:08 CET 2011
> > Incidentally, to slightly reduce the overhead the unicode objects,
> > there's this proposal: http://bugs.python.org/issue1943
> I wonder what aspects of this patch and discussion should be integrated
> into the PEP. The notion of allocating the memory in the same block is
> already considered in the PEP; what else might be relevant?
Ok, I'm sorry for not reading the PEP carefully enough, then.
The patch does a couple of other tweaks such as making "state" a char
rather than an int, and changing the freelist algorithm. But the latter
doesn't need to be spelled out in a PEP anyway.
More information about the Python-Dev