News for hackers. Stuff that matters.
Re:How is GNU `yes` so fast? by scandox on Tuesday June 13, 2017 @07:47AM (#14544094)
Yeah I got a surprise when I wanted to see how strlen was implemented:

https://github.com/lattera/glibc/blob/master/string/strlen.c

Re:How is GNU `yes` so fast? by _wmd on Tuesday June 13, 2017 @07:49AM (#14544104)
If you're on amd64 that's the wrong file:

https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/x86...

The pcmpeqb instruction is from SSE 4, it compares 16 bytes per op