Showing content from http://mail.python.org/pipermail/python-dev/attachments/20090127/241d7fa7/attachment.htm below:
<div class="gmail_quote">On Tue, Jan 27, 2009 at 5:44 PM, Antoine Pitrou <span dir="ltr"><<a href="mailto:solipsis@pitrou.net">solipsis@pitrou.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Daniel Stutzbach <daniel <at> <a href="http://stutzbachenterprises.com" target="_blank">stutzbachenterprises.com</a>> writes:<br>
</div><div class="Ih2E3d">> That's because in Python 3, the Text IO has to convert to Unicode, correct? <br>
<br>
</div>Yes, exactly.<br>
</blockquote></div><br>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).<br>
<blockquote style="margin: 1.5em 0pt;">--<br>
Daniel Stutzbach, Ph.D.<br>
President, <a href="http://stutzbachenterprises.com">Stutzbach Enterprises, LLC</a>
</blockquote>
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