Thread (35 messages) flat view 35 messages, 5 authors, 2016-08-11

Re: [PATCH 4/6] introduce a commit metapack

From: Duy Nguyen <hidden>
Date: 2016-06-15 22:56:00

On Wed, Jan 30, 2013 at 8:56 PM, Duy Nguyen [off-list ref] wrote:
However, performance seems to suffer too. Maybe I do more lookups than
necessary, I don't know.
Yes, I should have stored the position in the sha-1 <-> offset map
instead of the position of the object in .pack file. Even so,
performance does not improve.
I should probably measure the cost of revindex separately.
And the cost of create_pack_revindex() is 0.6 sec :-(

Perhaps we could store abbrev sha-1 instead of full sha-1. Nice
space/time trade-off.
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help