3 ms·
Just checked and pypy has the same speed as JS (instant). You are right that this is not what the most people use when working with Python and there is package
by freediver 4y ago
Just checked and pypy has the same speed as JS (instant). You are right that this is not what the most people use when working with Python and there is package incompatibility.
I am curious but don't have the time to check would the same result be for a regex?
- Aardwolf 4y agoI didn't check myself, but in the link from the other comment regex is the one thing where python wins! https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/python.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... Of course this is testing two native implementations of regex parsing, not the higher level scripting language handling.
- igouy 4y agoPCRE2 "wins" ;-)