On Thu, Jan 24, 2008 at 09:15:43AM -0800, Linus Torvalds wrote:
I suppose 8 bytes for 64-bit platforms and 4 bytes for 32-bits.
It is better to use 'while' instead of 'if' here, i.e.:
while (!((c = *name) & 0x80)) {
hash = hash_long(hash, c & ~0x20);
name++;
if (!--size)
return hash;
}
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html