[Python-Dev] PEP 393 Summer of Code Project

Glenn Linderman v+python at g.nevcal.com
Mon Aug 22 22:24:44 CEST 2011


On 8/22/2011 11:58 AM, Torsten Becker wrote:
> Hello all,
>
> I have implemented an initial version of PEP 393 -- "Flexible String
> Representation" as part of my Google Summer of Code project.  My patch
> is hosted as a repository on bitbucket [1] and I created a related
> issue on the bug tracker [2].  I posted documentation for the current
> state of the development in the wiki [3].
>
> Current tests show a potential reduction of memory by about 20% and
> CPU by 50% for a join micro benchmark.  Starting a new interpreter
> still causes 3244 calls to create compatibility Py_UNICODE
> representations, 263 strings are created using the old API while 62719
> are created using the new API.  More measurements are on the wiki page
> [3].
>
> If there is interest, I would like to continue working on the patch
> with the goal of getting it into Python 3.3.  Any and all feedback is
> welcome.

Sounds like great progress!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110822/981f2933/attachment.html>


More information about the Python-Dev mailing list