From: Justin Tobler Date: Tue, 17 Nov 2026 23:57:48 GMT Subject: Re: [PATCH 4/4] object-file: create ODB transaction temporary directory eagerly Message-ID: In-Reply-To: On 26/11/11 08:48AM, Karthik Nayak wrote: > Justin Tobler writes: > > > Typically large numbers of loose objects are not expected to be written > > into an ODB transaction so the overhead here should be marginal. > > Question: why is that? Loose objects are only written to a transaction if the number of objects in the incoming packfile are below the unpack limit (default 100 objects) or by objects being added. Of course it is possible that a user could add a new tree with a large number of objects for the first time though. There real point here though is that the overhead here is per object and small in comparison to the cost of writting the object in the first place. In most cases, I wouldn't expect it to be noticed. I'll try to update the message here to be a bit more clear. -Justin