to .d or not to .d

Brendan Cully brendan at kublai.com
Fri Mar 23 10:18:43 CDT 2007


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.


More information about the Mercurial mailing list