News for hackers. Stuff that matters.
Re:Hennessy and Patterson win Turing Award by tlb on Thursday March 22, 2018 @11:44AM (#16649586)
Behold the OSX library version of memcpy, 177 instructions long: https://gist.github.com/tlbtlbtlb/6f6fdc5154210dc72950d8ef02.... It unrolls to 128 byte chunks. Presumably it's enough faster than REP MOVS to justify the memory footprint.

I believe most libc implementations are similar, such as glibc: https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=strin...

There are no comments on this comment yet.