Re: [PATCH 4/7] commit-graph: fix bogus counter in "Scanning merged commits" progress line
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Jun 27, 2021, 17:31 UTC
- Message-ID
- <60d8b5f080160_ba5a220852@natae.notmuch>
- In-Reply-To
- <177c59bf-98e1-ff55-1b75-ea89c0de976a@web.de>
René Scharfe wrote:
> Am 26.06.21 um 16:11 schrieb Ævar Arnfjörð Bjarmason:
Show 9 quoted lines
> > For what it's worth I had some extensive examples in our initial
> > thread[1][2] (search for "apple" and "throughput", respectively), that
> > you cut out when replying to the relevant E-Mails. I'd think we could
> > probably have gotten here earlier :)
>
> Perhaps, but the key point for me was to invert my basic assumption that
> a work item has value, and for that I had to realize and state it first
> (done above). A mathematician would have done that in an instant, I
> guess ("Invert, always invert").When you get down to it, numbers almost never mean what most people think they mean.
If work is a continuum, the probabilty that you would land exactly at 1/3 is 0 P(X=1/3). What you want is the probability of less than 1/3 P(X<=1/3), and that includes 0.
So, anything from 0 to 1/3 is part of the first chunk of work.
-- Felipe Contreras