by K0nserv · 7y ago · 0 comments
Excerpt: "The result of this is that, in the limit, GNU grep averages fewer than 3 x86 instructions executed for each input byte it actually looks at (and it skips many bytes entirely)."
Which you'd know if you'd wondered, because that's something /u/burntsushi regularly explains: https://blog.burntsushi.net/ripgrep/#literal-optimizations
https://blog.burntsushi.net/ripgrep/
(It seems down at the moment you can try the cached version)