Displaying 1 result from an estimated 1 matches for "376560ac".
2003 May 27
1
[RESEND] crc32 optimization
Hi Samba
I noticed that the crc32 function in lib/crc32.c is somewhat
inefficient. This little patch will reduce the inner loop from 10
instructions to 8 instructions on x86 with gcc. gcc can't figure
out this simple optimization by itself on x86.
Further optimization is possible by using the impl. in the linux 2.5 kernel, but
I don't know if it is worth it. Is crc32 common in samba?