[Python-Dev] Optimize Unicode strings in Python 3.3

Glenn Linderman v+python at g.nevcal.com
Wed May 30 06:45:16 CEST 2012


On 5/29/2012 3:51 PM, Nick Coghlan wrote:
> On Wed, May 30, 2012 at 8:44 AM, Victor Stinner
> <victor.stinner at gmail.com>  wrote:
>> I also compared str%args and str.format() with Python 2.7 (byte
>> strings), 3.2 (UTF-16 or UCS-4) and 3.3 (PEP 393): Python 3.3 is as
>> fast as Python 2.7 and sometimes faster! (Whereras Python 3.2 is 10 to
>> 30% slower than Python 2 in general)
> Very cool news!
>
> Cheers,
> Nick.
>
Very cool indeed! Thanks, Victor. I have programs that are just full of 
formatting operations, that will benefit from this work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120529/e23dca97/attachment.html>


More information about the Python-Dev mailing list