Re: [PATCH 07/10] commit-graph: add large-filters bitmap chunk
- From
Taylor Blau <me@ttaylorr.com>
- Date
- Aug 3, 2020, 18:59 UTC
- Message-ID
- <20200803185947.GA67482@syl.lan>
- In-Reply-To
- <ab789072331127079347742b6ce3b3415bbbe4f6.1596480582.git.me@ttaylorr.com>
On Mon, Aug 03, 2020 at 02:57:33PM -0400, Taylor Blau wrote:
> When a commit has 512 changed paths or greater, the commit-graph > machinery represents it as a zero-length filter since having many > entries in the Bloom filter has undesirable effects on the false > positivity rate.
One thing that occurs to me after sending this patch is that 512 may not be the upper-bound on the number of changed-paths forever.
Maybe we should store a uint32_t as the first four bytes of this chunk specifying where we draw the line?
Thanks, Taylor