Serhiy Storchaka <storch...@gmail.com> added the comment:

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?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13126>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to