News for hackers. Stuff that matters.
Re:A 100LOC C impl of memset, that is faster than glibc's by Jyaif on Friday November 12, 2021 @06:46AM (#29198328)
I think that Duff's device could be used on lines 65-86 ( https://github.com/nadavrot/memset_benchmark/blob/eac67b6205... )
Re:A 100LOC C impl of memset, that is faster than glibc's by brrrrrm on Saturday November 13, 2021 @12:43AM (#29207727)
Is Duff’s device still relevant? Compilers can typically do such unroll logic for you these days.