Message92789
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. |
|
Date |
User |
Action |
Args |
2009-09-17 18:20:16 | jbradberry | set | recipients:
+ jbradberry, lemburg, benjamin.peterson, r.david.murray |
2009-09-17 18:20:16 | jbradberry | set | messageid: <1253211616.27.0.851754179319.issue6300@psf.upfronthosting.co.za> |
2009-09-17 18:20:14 | jbradberry | link | issue6300 messages |
2009-09-17 18:20:14 | jbradberry | create | |
|