Re:Do You Know How Much Your Computer Can Do in a Second?
by burntsushi on Thursday June 22, 2023 @06:12PM
(#36439844)
It provided the easiest possible case to grep: a simple literal. So all grep needs to do is substring search. And in turn it's accelerated by use of memchr. And that in turn it's written in assembly using AVX2 vector instructions, courtesy of GNU libc.
[ Parent
| on HN ]
Re:Do You Know How Much Your Computer Can Do in a Second?
by littlestymaar on Thursday June 22, 2023 @11:30PM
(#36442458)
(For those unaware, burntsushi is the author of ripgrep)
Re:Do You Know How Much Your Computer Can Do in a Second?
by xeonmc on Friday June 23, 2023 @02:28AM
(#36443530)
source?
Re:Do You Know How Much Your Computer Can Do in a Second?
by paraselene_ on Friday June 23, 2023 @03:15AM
(#36443803)
This should suffice?
https://github.com/BurntSushi/ripgrep