Message96727
Updated benchmarks.
str unicode
(ms) (ms)
========== late match, 100 characters
s="ABC"*33; ("E"+s+("D"+s)*500).rfind("E"+s)
32.89 15.65 rfind (classic)
32.81 15.63 rindex (classic)
11.77 13.27 rfind (fastsearch)
11.78 13.40 rindex (fastsearch)
========== late match, two characters
4.34 2.36 ("C"+"AB"*300).rfind("CA") (classic)
4.44 2.36 ("C"+"AB"*300).rindex("CA") (classic)
2.10 2.31 ("C"+"AB"*300).rfind("CA") (fastsearch)
2.10 2.32 ("C"+"AB"*300).rindex("CA") (fastsearch)
========== no match, two characters
14.12 13.46 ("AB"*1000).rfind("BC") (classic)
7.67 8.26 ("AB"*1000).rfind("BC") (fastsearch) |
|
Date |
User |
Action |
Args |
2009-12-20 23:55:10 | flox | set | recipients:
+ flox |
2009-12-20 23:55:09 | flox | set | messageid: <1261353309.81.0.156257413711.issue7462@psf.upfronthosting.co.za> |
2009-12-20 23:55:08 | flox | link | issue7462 messages |
2009-12-20 23:55:07 | flox | create | |
|