Re: RFC: Flat directory for notes, or fan-out? Both!
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 11, 2009, 12:35 UTC
- Message-ID
- <alpine.DEB.1.00.0902111329030.10279@pacific.mpi-cbg.de>
- In-Reply-To
- <49925CAB.505@vilain.net>
Hi,
On Wed, 11 Feb 2009, Sam Vilain wrote:
> I just already wrote the code to handle an arbitrary split for the > features written so far[1]. If *I* can write it, in C, it means it must > not be that complicated ;-)
I think I either missed your mail or had to ignore it due to too much day job work.
It is a good first step, of course the next step would be to load the trees on-demand.
Oh, and the best approach to handle the "to Trie or not to Trie" question would be to be strict in what we emit (12/28 it seems, by authority of Linus), and liberal in what we accept, IMHO. That is, accept whatever partition of the SHA-1, stopping on the first we found (smaller number of slashes, or when that is equal, the smaller first prefixes).
We can always discuss ways to handle merging later, I guess.
Ciao, Dscho