On Tue, Jan 27, 2009 at 5:44 PM, Antoine Pitrou <solipsis@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