Fast regex search: indexing text for agent tools

noor_z 14 points 2 comments March 23, 2026
cursor.com · View on Hacker News

Discussion Highlights (2 comments)

HeyMeco

Instant Grep 13ms vs 16.8s ripgrep seems very useful

rfw300

I don't understand why their "Instant Grep + roundtrip to us-east-1" is so slow. First of all, the round-trip latency should not be nearly so bad to us-east-1. But second, and much more importantly, the LLM runs in the cloud. Shouldn't you just situate the LLM, agent runtime, and regex index in the same region? Wouldn't that be faster than round-tripping to the user's local machine?

Semantic search powered by Rivestack pgvector
3,471 stories · 32,344 chunks indexed