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

Re: [PATCH 2/3] exclude: do strcmp as much as possible before fnmatch

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:55

Junio C Hamano [off-list ref] writes:
And this does not happen per path you check; exclude_stack used by
excluded() is designed to take advantage of the access pattern that
we tend to check paths from the same directory together, so such an
adjustment will be per directory switching (i.e. it will be part of
the prep_exclude() overhead that is amortized over paths you walk).
Just in case it wasn't clear, I didn't mean to say "mine is the
right way to do so; I will reject your patch that doesn't do so".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help