Message96771
New benchmarks (and patch for the benchmark tool).
Best improvement is reached with such expression:
s="ABC"*33; (s+"E"+("D"+s)*500).rfind(s+"E") (*100)
String (classic): 93.14 ms
String (fast): 8.78 ms
Unicode (classic): 78.62 ms
Unicode (fast): 9.42 ms |
|
Date |
User |
Action |
Args |
2009-12-21 21:29:18 | flox | set | recipients:
+ flox, effbot, pitrou |
2009-12-21 21:29:18 | flox | set | messageid: <1261430958.38.0.624226246862.issue7462@psf.upfronthosting.co.za> |
2009-12-21 21:29:17 | flox | link | issue7462 messages |
2009-12-21 21:29:16 | flox | create | |
|