Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mpcjanssen
· 2y ago · 0 comments
It seems to recompile every regex on every matching operation. This is really slow. The compiled regexes should be cached in the different matchers.
Comments
[–]
dineshgowda24
2y ago
Good point. I didn't give much attention to this part. I run some benchmarks and move these to compile only once. Thank you.