3 ms·
https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/regexredux-python3-2.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... Y
by CraigJPerry 5y ago
https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/regexredux-python3-2.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
Your python 3 one isnt the fastest python 3 solution, it’s this one which uses pcre2
- igouy 5y agoThat's correct, the Python program that uses pcre2 is faster. The slower program is an example from that website of a regex program which does not " just calls out to a very fast c library (pcre2)…".