strlen.c in glibc
March 10 2009, 6:05pm
strlen.c in glibcSource: sources.redhat.comReturn the length of the null-terminated string STR. Scan for the null terminator quickly by testing four bytes at a time. Wow. Sometimes, I guess, performance trumps readability.
Via: http://www.facebook.com/posted.php?id=13715051&share_id=71006559851#s71006559851
blog comments powered by Disqus
