A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-January/085599.html below:

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

[Python-Dev] Python 3.0.1 (io-in-c) [Python-Dev] Python 3.0.1 (io-in-c)Antoine Pitrou solipsis at pitrou.net
Wed Jan 28 12:41:07 CET 2009
Victor Stinner <victor.stinner <at> haypocalc.com> writes:
> 
> Le Wednesday 28 January 2009 11:55:16 Antoine Pitrou, vous avez écrit :
> > 2.x has no encoding costs, which explains why it's so much faster.
> 
> Why not testing io.open() or codecs.open() which create unicode strings?

The goal is to test the idiomatic way of opening text files (the "one obvious
way to do it", if you want).
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.

Regards

Antoine.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4