TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Regex literals optimization (or how to cheat on benchmarks)

42 pointsby nitelyover 4 years ago

2 comments

willvarfarover 4 years ago
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_fishover 4 years ago
How does nim-regex implement capture groups and zero-width assertions (like \b)? Both of those are tricky with DFAs.
评论 #25401716 未加载