From: Junio C Hamano Date: Thu, 09 Oct 2014 20:12:08 GMT Subject: Re: [PATCH] use skip_prefix() to avoid more magic numbers Message-ID: In-Reply-To: <5436EAB5.2070809@web.de> René Scharfe writes: > I didn't think much about the performance implications. skip_prefix() > doesn't call strlen(3), though. Ah, OK. > The code handles millions of ref strings per second before and after > the change, and with the change it's faster. I hope the results are > reproducible and make it easier to say goodbye to pfxlen. :) ;-)