This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jbradberry
Recipients benjamin.peterson, jbradberry, lemburg, r.david.murray
Date 2009-09-17.18:20:14
SpamBayes Score 8.5191445e-05
Marked as misclassified No
Message-id <1253211616.27.0.851754179319.issue6300@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-09-17 18:20:16jbradberrysetrecipients: + jbradberry, lemburg, benjamin.peterson, r.david.murray
2009-09-17 18:20:16jbradberrysetmessageid: <1253211616.27.0.851754179319.issue6300@psf.upfronthosting.co.za>
2009-09-17 18:20:14jbradberrylinkissue6300 messages
2009-09-17 18:20:14jbradberrycreate