6 ms·
It seems to recompile every regex on every matching operation. This is really slow. The compiled regexes should be cached in the different matchers.
by mpcjanssen 2y 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.
- dineshgowda24 2y agoGood point. I didn't give much attention to this part. I run some benchmarks and move these to compile only once. Thank you.
- dangcoderevue 2y ago[dead]