[Python-Dev] Python 3.0.1 (io-in-c)

Victor Stinner victor.stinner at haypocalc.com
Wed Jan 28 13:14:37 CET 2009


Le Wednesday 28 January 2009 12:41:07 Antoine Pitrou, vous avez écrit :
> > Why not testing io.open() or codecs.open() which create unicode strings?
>
> There is no doubt that io.open() and codecs.open() in 2.x are much slower
> than the io-c branch. However, nobody is expecting very good performance
> from io.open() and codecs.open() in 2.x either.

I use codecs.open() in my programs and so I'm interested by the benchmark on 
this function ;-)

But if I understand correctly, Python (3.1 ?) will be faster (or much faster) 
to read/write files in unicode, and that's a great news ;-)

-- 
Victor Stinner aka haypo
http://www.haypocalc.com/blog/


More information about the Python-Dev mailing list