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 xiang.zhang
Recipients azsorkin, louielu, methane, ned.deily, pitrou, python-dev, serhiy.storchaka, vstinner, xiang.zhang
Date 2017-03-29.08:19:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I can't give a "realistic" example. A more meaningful example may be:

'。', '\u3002', the Chinese period which used in almost every paragraph,
'地', '\u5730', which is a common used word.

./python3 -m perf timeit  -s 's = "你好,我叫李雷。"*1000' 's.find("地")'
Mean +- std dev: 6.65 us +- 0.27 us
Mean +- std dev: 4.08 us +- 0.22 us

It works! :-)
Date User Action Args
2017-03-29 08:19:53xiang.zhangsetrecipients: + xiang.zhang, pitrou, vstinner, ned.deily, methane, python-dev, serhiy.storchaka, azsorkin, louielu
2017-03-29 08:19:53xiang.zhangsetmessageid: <>
2017-03-29 08:19:53xiang.zhanglinkissue24821 messages
2017-03-29 08:19:53xiang.zhangcreate