Thread (1 message) 1 message, 1 author, 2016-06-15

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. :)
;-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help