This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients flox, pitrou, serhiy.storchaka, vstinner
Date 2012-04-09.14:29:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333981766.12.0.0197488947018.issue13126@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2012-04-09 14:29:26serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, vstinner, flox
2012-04-09 14:29:26serhiy.storchakasetmessageid: <1333981766.12.0.0197488947018.issue13126@psf.upfronthosting.co.za>
2012-04-09 14:29:25serhiy.storchakalinkissue13126 messages
2012-04-09 14:29:25serhiy.storchakacreate