Files
nix/src
Sergei Zimmerman 3eb5a7cf30 libutil/tarfile: Create the scratch std::vector only once
I can't find a good way to benchmark in isolation from the
git cache, but common sense dictates that creating (and destroying)
a 131KiB std::vector for each regular file from the archive imposes
quite a significant overhead regardless of the IO bound git cache.

AFAICT there is no reason to keep a copy of the data since
it always gets fed into the sink and there are no coroutines/threads
in sight.

(cherry picked from commit 7628155d2b)
2025-07-30 11:32:13 +00:00
..
2025-01-24 17:04:02 +01:00
2025-01-24 17:04:02 +01:00
2025-07-18 22:36:36 +03:00
2025-07-18 22:36:36 +03:00
2025-07-18 22:36:36 +03:00
2025-07-18 22:36:36 +03:00
2025-07-18 22:36:36 +03:00
2025-07-18 22:36:36 +03:00
2025-07-18 22:36:36 +03:00
2025-07-18 22:36:36 +03:00
2025-07-18 22:36:36 +03:00
2025-07-18 22:36:36 +03:00
2024-10-09 11:58:17 -04:00