TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Regex literals optimization (or how to cheat on benchmarks)
42 points
by
nitely
over 4 years ago
2 comments
willvarfar
over 4 years ago
Collapse
How does it eg googles re2?<p>I remember a neat feature of re2 was you could give it a bunch of regex, and get it to check for all of them at the same time. Made all the difference in an early spam filter I built.
评论 #25402067 未加载
评论 #25398780 未加载
ridiculous_fish
over 4 years ago
Collapse
How does nim-regex implement capture groups and zero-width assertions (like \b)? Both of those are tricky with DFAs.
评论 #25401716 未加载