Re: [PATCH 4/3] midx: inline nth_midxed_pack_entry()
- From
René Scharfe <l.s.r@web.de>
- Date
- Sep 11, 2021, 17:03 UTC
- Message-ID
- <165ffe5c-f8b0-a4e3-cb01-71ad74778f09@web.de>
- In-Reply-To
- <7d9e67bf-e057-694c-c976-ba19e9521882@web.de>
Am 11.09.21 um 18:08 schrieb René Scharfe:
Show 5 quoted lines
> fill_midx_entry() finds the position of an object ID and passes it to > nth_midxed_pack_entry(), which uses the position to look up the object > ID for its own purposes. Inline the latter into the former to avoid > that lookup. >
Forgot:
Reported-by: Jeff King <peff@peff.net>
> Signed-off-by: René Scharfe <l.s.r@web.de>
René