News for hackers. Stuff that matters.
Re:A 100LOC C impl of memset, that is faster than glibc's by cryptonector on Friday November 12, 2021 @02:08PM (#29203304)
> if (n == 0) > return s;

That branch is not needed because memset() is UD if length is 0, but it's nice that it's safer.

Re:A 100LOC C impl of memset, that is faster than glibc's by Filligree on Friday November 12, 2021 @02:11PM (#29203346)
You wouldn't rather have an arguably very slighter faster memset, with the caveat that it might explode in your face?