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

Daniel Stutzbach daniel at stutzbachenterprises.com
Wed Jan 28 01:04:30 CET 2009


On Tue, Jan 27, 2009 at 5:44 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:

> Daniel Stutzbach <daniel <at> stutzbachenterprises.com> writes:
> > That's because in Python 3, the Text IO has to convert to Unicode,
> correct?
>
> Yes, exactly.
>

What kind of input are you using for the Text tests?  I'm kind of surprised
that the conversion to Unicode results in such a dramatic slowdown, if
you're feeding it plain text (characters 0x00 through 0x7f).

--
Daniel Stutzbach, Ph.D.
President, Stutzbach Enterprises, LLC <http://stutzbachenterprises.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20090127/241d7fa7/attachment.htm>


More information about the Python-Dev mailing list