News for hackers. Stuff that matters.
Re:A 100LOC C impl of memset, that is faster than glibc's by rwmj on Friday November 12, 2021 @10:20AM (#29200074)
The qemu implementation does indeed do it the hard way. It's a lot of code: https://gitlab.com/qemu-project/qemu/-/blob/master/util/buff...
Re:A 100LOC C impl of memset, that is faster than glibc's by pm215 on Friday November 12, 2021 @03:39PM (#29204261)
Interestingly, we used to have a special-case aarch64 version, but we dropped it because the C version was faster: https://gitlab.com/qemu-project/qemu/-/commit/2250d3a293d36e...

(Might or might not still be true on more modern aarch64 hardware...)

Re:A 100LOC C impl of memset, that is faster than glibc's by pm215 on Friday November 12, 2021 @04:25PM (#29204711)
Does your memset version beat QEMU's plain-old-C fallback version ?