logoalt Hacker News

gunalxtoday at 2:27 PM1 replyview on HN

Grep is trivially parallelizable if you care to do it though.

https://iepathos.github.io/ripgrep/performance/#work-stealin...


Replies

robotresearchertoday at 4:43 PM

Storage access isn’t, though. You have to read every byte of a (non-sorted) file to find words in it. And whether it’s disk or RAM, the bandwidth is usually a key constraint.

That’ll be just as true for an ASIC NN as it is for good ole grep.

show 1 reply