[Pyrex] Speeding up custom string lowercasing with Pyrex

skip at pobox.com skip at pobox.com
Wed Oct 31 15:30:12 CET 2007


    Bob> The += part was fixed up? Or the "".join() was made even faster?

The += part.  There's generally no need to resort to the standard
append/join idiom these days.  Actually, I was incorrect about the version
in which this was introduced.  It was added in 2.4:

    http://www.python.org/doc/2.4/whatsnew/node12.html#SECTION0001210000000000000000

Note the caveats though...

Skip




More information about the Pyrex mailing list