Patrick Steinhardt
c0cadb0576
reftable/block: reuse buffer to compute record keys
...
When iterating over entries in the block iterator we compute the key of
each of the entries and write it into a buffer. We do not reuse the
buffer though and thus re-allocate it on every iteration, which is
wasteful.
Refactor the code to reuse the buffer.
Signed-off-by: Patrick Steinhardt <ps@pks.im >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2023-12-11 07:23:17 -08:00
..
2021-10-08 10:45:48 -07:00
2021-10-08 10:45:48 -07:00
2021-10-08 10:45:48 -07:00
2023-12-11 07:23:17 -08:00
2023-12-11 07:23:17 -08:00
2023-12-11 07:23:17 -08:00
2023-12-11 07:23:16 -08:00
2021-10-08 10:45:48 -07:00
2021-10-08 10:45:48 -07:00
2023-04-24 12:47:32 -07:00
2023-04-24 12:47:33 -07:00
2022-03-28 13:58:10 -07:00
2021-10-08 10:45:48 -07:00
2022-01-20 11:31:53 -08:00
2023-12-11 07:23:17 -08:00
2022-01-13 13:39:09 -08:00
2023-12-11 07:23:16 -08:00
2023-12-11 07:23:16 -08:00
2022-09-15 11:32:37 -07:00
2022-09-15 11:32:37 -07:00
2022-09-15 11:32:37 -07:00
2023-04-24 12:47:33 -07:00
2023-12-11 07:23:17 -08:00
2021-10-08 10:45:48 -07:00
2023-12-11 07:23:16 -08:00
2022-03-28 13:58:10 -07:00
2022-01-20 11:31:53 -08:00
2022-01-20 11:31:53 -08:00
2021-10-08 10:45:48 -07:00
2021-10-08 10:45:48 -07:00
2021-10-08 10:45:48 -07:00
2021-10-08 10:45:48 -07:00
2021-12-23 12:28:34 -08:00
2021-10-08 10:45:48 -07:00
2021-10-08 10:45:48 -07:00
2021-10-08 10:45:48 -07:00
2021-10-08 10:45:48 -07:00
2021-10-08 10:45:48 -07:00
2022-01-20 11:31:53 -08:00
2021-10-08 10:45:48 -07:00
2021-10-08 10:45:48 -07:00
2022-02-23 13:36:26 -08:00
2023-12-11 07:23:16 -08:00
2023-12-11 07:23:16 -08:00
2021-10-08 10:45:48 -07:00
2023-04-24 12:47:32 -07:00
2021-10-08 10:45:48 -07:00
2023-12-11 07:23:15 -08:00
2023-04-24 12:47:33 -07:00
2023-04-24 12:47:33 -07:00
2021-10-08 10:45:48 -07:00
2022-05-20 15:26:59 -07:00
2021-10-08 10:45:48 -07:00