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.
More from coding & agent
- Claude Plays Rimworld: streaming agent harness with fork-and-summarize context management — kaityl3 · 2026-09-07
- context-mode cuts AI coding agents' tool output by 98%, tops 20k GitHub stars — mksglu · 2026-09-07
- Microsoft's markitdown file-to-Markdown tool for LLMs hits 179k GitHub stars — microsoft · 2026-09-07
- HeyGen open-sources hyperframes: write HTML, render video, built for AI agents — heygen-com · 2026-09-07
- camofox-browser: stealth headless browser for AI agents passes 9.3k GitHub stars — jo-inc · 2026-09-07
- Lightpanda, a Zig-based headless browser built for AI, reaches 34.6k GitHub stars — lightpanda-io · 2026-09-07