to .d or not to .d

TK Soh teekaysoh at gmail.com
Fri Mar 23 10:30:20 CDT 2007


On 3/23/07, Brendan Cully <brendan at kublai.com> wrote:
> On Friday, 23 March 2007 at 09:49, TK Soh wrote:
> > I noticed sometime the .d files are not created when I check in new
> > files. Can someone please share the algorithm used in deciding if/when
> > a .d file will be created? Thanks.
>
> RevlogNG introduced inline data. When the revlog is small, it's faster
> to slurp up the index in the data in one set of reads (precaching
> probably grabs it anyway, and you save seeks). When it gets larger - I
> think above 128K - the data is forked off to keep the index load fast.

so the data prior to forking will remain in the index file?


More information about the Mercurial mailing list