[Python-Dev] PEP 393 Summer of Code Project (original) (raw)

Victor Stinner victor.stinner at haypocalc.com
Wed Aug 24 00:27:37 CEST 2011


Le mardi 23 août 2011 00:14:40, Antoine Pitrou a écrit :

Hello,

On Mon, 22 Aug 2011 14:58:51 -0400 Torsten Becker <torsten.becker at gmail.com> wrote: > 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]. A couple of minor comments: - “The UTF-8 decoding fast path for ASCII only characters was removed and replaced with a memcpy if the entire string is ASCII.” The fast path would still be useful for mostly-ASCII strings, which are extremely common (unless UTF-8 has become a no-op?).

I posted a patch to re-add it: http://bugs.python.org/issue12819#msg142867

Victor



More information about the Python-Dev mailing list