On 06/02/2010 01:29 PM, Jonathan Morton wrote: > It turns out, of course, that memcmp() isn't the most efficient > mechanism to compare small, aligned, known-size blocks of memory. gcc/glibc do optimize that case. What compiler are you using? behdad