Re: [PATCH 1/3] diff histogram: intern strings
- From
Jeff King <peff@peff.net>
- Date
- Nov 18, 2021, 15:42 UTC
- Message-ID
- <YZZ0e7CCGW5QbQlW@coredump.intra.peff.net>
- In-Reply-To
- <nycvar.QRO.7.76.6.2111181631260.11028@tvgsbejvaqbjf.bet>
On Thu, Nov 18, 2021 at 04:35:48PM +0100, Johannes Schindelin wrote:
Show 7 quoted lines
> I think the really important thing to point out is that > `xdl_classify_record()` ensures that the `ha` attribute is different for > different text. AFAIR it even "linearizes" the `ha` values, i.e. they > won't be all over the place but start at 0 (or 1). > > So no, I'm not worried about collisions. That would be a bug in > `xdl_classify_record()` and I think we would have caught this bug by now.
Ah, thanks for that explanation. That addresses my collision concern from earlier in the thread completely.
-Peff