6 ms·
A bit off topic, but here are some Regex benchmarks that might be of interest: https://github.com/mariomka/regex-benchmark https://github.com/mariomka/regex-be
by pier25 7y ago
A bit off topic, but here are some Regex benchmarks that might be of interest:
https://github.com/mariomka/regex-benchmark https://github.com/mariomka/regex-benchmark
Surprisingly JS is about 10 times faster than Go.
- statictype 7y agoPresumably the JS's regex engine is implemented in C? Can't believe the .NET implementation is so slow.
- pier25 7y agoYes, most likely, or maybe C++.
- ridiculous_fish 7y agov8 and JSC both JIT-compile regexes.