Excerpts from Sean Farley's message of 2017-02-21 15:45:44 -0800:
> Augie Fackler <r...@durin42.com> writes:
> 
> > On Fri, Feb 17, 2017 at 07:14:12PM -0800, Jun Wu wrote:
> >> Excerpts from Bryan O'Sullivan's message of 2017-02-17 13:29:58 -0800:
> >> > I think there are multiple topics being discussed:
> >> >
> >> >   1. How to solve the overhead loading hiddenrevs with minimal changes?
> >> >   2. Why is the bitmap format interesting (future use-cases)?
> >> >
> >> For 2,
> >>
> >>   len(filteredrevs) in my hg-committed is 2155. It's small. I tend to think
> >>   about solutions that scale longer and are not too complex to build. That
> >>   may or may not be a good habit.
> >>
> >
> > For what it's worth, my clone of hg has 12716 hidden revisions - about
> > a quarter of the entire repo history is hidden.
> 
> Actually, that's 40%. Mine is a bit over 25%.

I think you have incorrectly excluded hidden revs from repo history:

12716.0 / (len(repo) - len(repo.changelog.filteredrevs) + 12716) = 28.8% # 
correct
12716.0 / (len(repo) - len(repo.changelog.filteredrevs)) = 40.3% # incorrect

Yours should be around 20%:

8000.0 / (len(repo) - len(repo.changelog.filteredrevs) + 8000) = 20.3%
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to