Microsoft open-sources tgrep, a trigram-indexed grep up to 52x faster than ripgrep
jedisct1 · x · 2026-09-07
Microsoft open-sourced tgrep, a trigram-indexed grep with a client/server architecture that runs regex searches in large codebases 7-50x faster than ripgrep and ugrep (benchmarks show up to 52x). Instead of scanning every byte per query, tgrep pre-builds a trigram index so searches only touch candidate files: run tgrep index ., start tgrep serve . (watches for changes), then queries return instantly. It's written in Rust, MIT-licensed, and already powers fast grep in GitHub Copilot CLI.
Related event: Microsoft Open-Sources tgrep, Up to 52x Faster Than ripgrep(2 posts)→
More from coding & agent
- charlie Marsh: rewrites beat external deps in the AI era — mohamedmansour · 2026-10-26
- OpenAI and Twitch launch Codex hackathon with $25,000 in prizes — OpenAIDevs · 2026-10-26
- Filtering secrets on the write path: why agent memory deserves more suspicion at ingest than retrieval — Classic-Being-7960 · 2026-10-26
- INT21's AI agent swarm rewrote Drama 3's inference runtime in Rust within one hour, beating SGLang-Omni — bingxu_ · 2026-10-26
- After OpenCode key leak: 5 practical rules for keeping keys away from agents — jacobholm_dev · 2026-10-26
- wandb 0.31.0 ships with 2x faster startup, adds JSON output for coding agents — wandb · 2026-10-26