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

Re: Performance issue of 'git branch'

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:05

Linus Torvalds [off-list ref] writes:
On Wed, 22 Jul 2009, Linus Torvalds wrote:
quoted
But I'll see if I can dig up my non-binary-search patch and see if I can 
make it go faster. My machine is fast, but not so fast that I can't 
measure it ;)
Oh. We actually merged a fixed version of it. I'd completely forgotten.
As the commit message of 628522e (sha1-lookup: more memory efficient
search in sorted list of SHA-1, 2007-12-29) shows, it didn't get any great
performance improvements, even though it did make the probing quite a lot
less memory intensive.

Perhaps you can spot obvious inefficiency in the code that I failed to
see, just like you recently did for "show --cc" codepath?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help