Subject: Re: [PATCH v3 06/10] xdiff: split xrecord_t.ha into line_hash and minimal_perfect_hash

From: Junio C Hamano <[email-masked]>
Date: Fri, 14 Nov 2025 12:06:07 -0800

Ezekiel Newren <[email-masked]> writes:

>> How much extra memory pressure does this change cause?  In a single
>> instance of xrecord_t, we used to have a single ulong plus a pointer
>> and a size_t; now we replaced the single ulong with two 8-byte words,
>> so 33% more memory per record, which is not so huge a deal?
>
> This was asked and answered earlier in this patch series [1].

In short, this step does bloat, but the memory usage will shrink
when the members are moved elsewhere in future patches?

> [1] https://lore.kernel.org/git/CAH=ZcbD7FeRHtYvN_4=qHApB-AwK18=[email-masked]/