Jeff Bradberry <jeff.bradbe...@gmail.com> added the comment:

Before:

~/python2.7$ ./python -mtimeit "u'Andr\202 x'.encode('ascii', 'replace')"
1000000 loops, best of 3: 1.8 usec per loop

After:

~/python2.7-patched$ ./python -mtimeit "u'Andr\202 x'.encode('ascii',
'replace')"
1000000 loops, best of 3: 1.73 usec per loop


The difference in performance seems to be trivial, perhaps favoring the
patched version slightly.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6300>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to