Re: [PATCH] use skip_prefix() to avoid more magic numbers
From: Junio C Hamano <hidden> Date: 2016-06-15 23:02:41
René Scharfe [off-list ref] 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. :)