Show HN: Fmgrep – indexed grep over a persistent FM index
fmgrep is a (Claude-powered) open source reimplementation of a FAANG code search engine I was involved in a few years back. It's aimed at very large (e.g. AOSP) source trees.Back then we wanted to get our hands on the Github search engine(https://github.com/danlark1/sparse_ngrams) but it was not available, so we went a different way.Instead of n-grams,`fmgrep` builds an FM index of the tree with O(pattern) `count` and O(occurrences) `locate`, which is quite cool and leads to blazing fast performance as seen in the benchmarks. Comments URL: https://news.ycombinator.com/item?id=50644731 Points: 1 # Comments: 0