Re: [PATCH v3 05/13] match_{base,path}name: replace strncmp_icase with memequal_icase

2013-03-12 Thread Duy Nguyen
On Tue, Mar 12, 2013 at 8:04 PM, Nguyễn Thái Ngọc Duy wrote: > +static inline int memequal_icase(const char *a, const char *b, int n) > +{ > + if (!memcmp(a, b, n)) > + return 1; > + > + if (!ignore_case) > + return 0; > + > + /* > +* This assu

[PATCH v3 05/13] match_{base,path}name: replace strncmp_icase with memequal_icase

2013-03-12 Thread Nguyễn Thái Ngọc Duy
treat_leading_path: 0.000 0.000 read_directory: 3.578 3.501 +treat_one_path: 2.323 2.257 ++is_excluded:2.117 2.056 +++prep_exclude: 0.224 0.216 +++matching: 1.544 1.493 ++dir_exist: 0.035 0.035 ++index_name_exists: 0.290 0.292 lazy_init_name_hash