Hacker News new | ask | show | jobs
by mpcjanssen 759 days ago
It seems to recompile every regex on every matching operation. This is really slow. The compiled regexes should be cached in the different matchers.
1 comments

Good point. I didn't give much attention to this part. I run some benchmarks and move these to compile only once. Thank you.