On Thu, Mar 31, 2011 at 8:38 AM, Dan McGee <dpmcgee@xxxxxxxxx> wrote: > Before calling strncmp(), see if we can get away with checking only the > first character of the passed path components instead. > > Signed-off-by: Dan McGee <dpmcgee@xxxxxxxxx> I wonder if inlining strcmp() would be better (at least cleaner code). It seems like you try to avoid the function call cost here. -- Duy -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html