logoalt Hacker News

serbuvladyesterday at 5:13 PM3 repliesview on HN

ripgrep may be.

I did a toy project once implementing a limited version of grep on an FPGA and was able to get some speedup over GNU grep at the time, though marginal.

In any case, LLMs aren't IO bound :))


Replies

cobbalyesterday at 5:39 PM

I am now imagining a future where developers buy fancy "grep cards" for their machines. I don't hate it.

show 2 replies
dgacmuyesterday at 5:57 PM

I've evaluated some of these and in almost all cases they failed to outperform Intel's ridiculously optimized CPU regex library, hyperscan.

sanderjdyesterday at 5:36 PM

Right, but I read the comment's point as: being i/o bound is the eventual limit of the asymptote and it's the same one grep has.