4 ms·
Indexed regex search for large codebases, powered by trigram / sparse n‑gram indexes. A grep-like CLI that builds a local on-disk index, so searches stay fast e
by PythonicNinja 6mo ago
Indexed regex search for large codebases, powered by trigram / sparse n‑gram indexes. A grep-like CLI that builds a local on-disk index, so searches stay fast even on huge monorepos.
based on algorithm from cursor team:
https://cursor.com/blog/fast-regex-search https://cursor.com/blog/fast-regex-search
- saidnooneever 6mo agoit might be nice to add some kind of comparison to other similar tools like ripgrep etc to see what the differences are in usage, performance etc. now it kind of sounds the same as other tools (for ppl like me who dont by heart know all these algos)
- PythonicNinja 6mo agoAdding it right now. Will compare grep vs rg vs trigrep against git source code.
- PythonicNinja 6mo agoadded comparison: https://github.com/PythonicNinja/trigrep/commit/ca64fd81a6d881ead4715f3f6597b0129bfae230 https://github.com/PythonicNinja/trigrep/commit/ca64fd81a6d8...