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 2d4d
Recipients 2d4d, serhiy.storchaka, steven.daprano
Date 2021-01-16.15:44:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
some more observations, which might be helpful in tracking it down:

x$ is much faster than ^x
A$ is as slow as ^x

$ python3 -m timeit -s "a = 'A'*100000000" "import re" "'x$', a)"
10 loops, best of 5: 32.9 msec per loop

$ python3 -m timeit -s "a = 'A'*100000000" "import re" "'A$', a)"
1 loop, best of 5: 802 msec per loop
Date User Action Args
2021-01-16 15:44:432d4dsetrecipients: + 2d4d, steven.daprano, serhiy.storchaka
2021-01-16 15:44:432d4dsetmessageid: <>
2021-01-16 15:44:432d4dlinkissue42885 messages
2021-01-16 15:44:432d4dcreate