[Python-Dev] Optimize Unicode strings in Python 3.3 (original) (raw)

Nick Coghlan ncoghlan at gmail.com
Wed May 30 00:51:27 CEST 2012


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.

-- Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia



More information about the Python-Dev mailing list