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
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