Hacker News new | ask | show | jobs
by shoshino 2939 days ago
This is not an answer, but today I was hunting for an implementation of Aho-Corasick in Go.

https://github.com/cloudflare/ahocorasick - 285 stars. https://github.com/anknown/ahocorasick - 70 stars

Anknown's implementation is more than 10x faster than CloudFlare's, and typically uses 10% of the memory!