Re: test-tool: bloom: generate_filter for multiple string?
- From
Derrick Stolee <stolee@gmail.com>
- Date
- Jan 13, 2021, 12:06 UTC
- Message-ID
- <31aec25c-07ef-b3b7-2759-494ad47bcfb1@gmail.com>
- In-Reply-To
- <X/7guF05a/Bb/VNp@danh.dev>
On 1/13/2021 6:59 AM, Đoàn Trần Công Danh wrote:
Show 14 quoted lines
> On 2021-01-12 14:53:32-0500, Taylor Blau <me@ttaylorr.com> wrote: >> On Thu, Dec 31, 2020 at 10:54:38AM +0700, Đoàn Trần Công Danh wrote: >>> I'm reading the code for Bloom Filter to see if arXiv:2012.00472 >>> could be an improvement. >> >> I'm late to the party, but I'm curious to hear which part of this >> article you think would help out the Bloom filter implementation. > > Uhm, no. The article doesn't help the Bloom filter implementation. > The article was suggesting using Bloom filter to speed-up the > negotiation in fetch-pack and upload-pack. Which, in my own quick > experience, doesn't help much. Maybe it's me not understand the > article idea or I have made a naive implementation. However, I'm not > convinced to pursued further.
I saw that idea, and was immediately skeptical. Bloom filters still have size linear to the size of the set. By using a Bloom filter to describe "these are ALL the objects I have" instead of "these are the TIPS I have" the size will explode to be much larger than our current negotiation algorithm.
Thanks, -Stolee