Message157846
I checked one example on a 32-bit system (you have a 64-bit?)), because I was afraid pessimization because of a lack of registers. str.find() is faster than str.rfind(), but the patch makes it even faster.
But I would like to see the script and the results of benchmarking of the 1/2/3/20-character ascii/ucs1/ucs2/ucs4-substring in ascii/ucs1/ucs2/ucs4-string, in all possible combinations. May be, such benchmark scripts already exist? |
|
Date |
User |
Action |
Args |
2012-04-09 14:29:26 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, vstinner, flox |
2012-04-09 14:29:26 | serhiy.storchaka | set | messageid: <1333981766.12.0.0197488947018.issue13126@psf.upfronthosting.co.za> |
2012-04-09 14:29:25 | serhiy.storchaka | link | issue13126 messages |
2012-04-09 14:29:25 | serhiy.storchaka | create | |
|