On Tue, Feb 14, 2012 at 06:41:02PM -0700, Matthew Wilcox wrote: > On Wed, Feb 15, 2012 at 01:45:27AM +0300, Alexey Dobriyan wrote: > > 1) consistently use "unsigned int" for dentry name length, > > 2) reuse subtraction result for return value, exact value doesn't matter > > because function is only used in boolean context, > > 3) use *p++ idiom for even better code. > > > > All of this results in performance speedup of "git diff" > > which is way out of statistical error (0.4% vs 0.15% of 3 sigma): > > On what machine, out of interest? Core i5 760 (x86_64) -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html