Re: [PATCH/RFC v2 2/2] Replace strlen() with ce_namelen()

2012-07-08 Thread Junio C Hamano
Thomas Gummerer writes: > Replace strlen(ce->name) with ce_namelen() in a couple > of places which gives us some additional bits of > performance. > > Signed-off-by: Thomas Gummerer Very sensible, with or without the previous patch. I am kind of surprised that we are very good and have only th

[PATCH/RFC v2 2/2] Replace strlen() with ce_namelen()

2012-07-06 Thread Thomas Gummerer
Replace strlen(ce->name) with ce_namelen() in a couple of places which gives us some additional bits of performance. Signed-off-by: Thomas Gummerer --- read-cache.c |4 ++-- unpack-trees.c |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/read-cache.c b/read-cache.c