Re: svn to git, N-squared?
- From
- Yakov Lerner <iler.ml@gmail.com>
- Date
- Jun 12, 2006, 19:04 UTC
- Message-ID
- <f36b08ee0606121204q1f9dfb5dv3c09c4e9e6a16a0f@mail.gmail.com>
- In-Reply-To
- <Pine.LNX.4.64.0606112056440.5498@g5.osdl.org>
On 6/12/06, Linus Torvalds <torvalds@osdl.org> wrote:
Show 7 quoted lines
> On Sun, 11 Jun 2006, Jon Smirl wrote: > > I have it stopped and I am running the repack. > > There are 1.27M files in my .git directory > Yeah, that would do it. That's ~5000 files per object directory, so I > assume that your directories are 200+kB in size, and for every new object > added, you'll basically have to traverse the old directory fully in order > to find an empty place for it
Is this related to 1-level dir tree for objects (12/object) vs 2-level dir tree (12/34/object) ? Does git employ more levels for object tree for large projects ?
Yakov