Re: [PATCH/RFC v2 1/2] Strip namelen out of ce_flags into a ce_namelen field

2012-07-11 Thread Junio C Hamano
Junio C Hamano writes: >> @@ -395,10 +395,8 @@ int df_name_compare(const char *name1, int len1, int >> mode1, >> return c1 - c2; >> } >> >> -int cache_name_compare(const char *name1, int flags1, const char *name2, >> int flags2) >> +int cache_name_stage_compare(const char *name1, int st

Re: [PATCH/RFC v2 1/2] Strip namelen out of ce_flags into a ce_namelen field

2012-07-08 Thread Junio C Hamano
Thomas Gummerer writes: > Strip the name length from the ce_flags field and move it > into its own ce_namelen field in struct cache_entry. This > will both give us a tiny bit of a performance enhancement > when working with long pathnames and is part of the > refactoring for the index-v5 file for