Re: Big git diff speedup by avoiding x86 "fast string" memcmp

From: David Miller
Date: Thu Dec 16 2010 - 12:56:53 EST


From: Boaz Harrosh <bharrosh@xxxxxxxxxxx>
Date: Thu, 16 Dec 2010 11:53:09 +0200

> You miss understood me. I'm saying that we know the beggining of the
> string is aligned and Nick offered to pad the last long, so surly
> a shift by 2 (or 3) + the reduction of the 12 dec-and-test to 3
> should give you an optimization?

Indeed, we could do something interesting in the case where both
strings are tail padded like that.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/