diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-03-28 00:01:47 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-05-30 13:42:29 +0200 |
commit | e87e4a60d617bffadfedf23032254130cdb4d54d (patch) | |
tree | 2d17899e41f6372d0b64e74b2c260170248d1acd /src/nix-prefetch-url/local.mk | |
parent | 08ec757726e5ef47e71bf16ed0b252b288bcf0f3 (diff) |
Make HttpBinaryCacheStore::narFromPath() run in constant memory
This reduces memory consumption of
nix copy --from https://cache.nixos.org --to ~/my-nix /nix/store/95cwv4q54dc6giaqv6q6p4r02ia2km35-blender-2.79
from 176 MiB to 82 MiB. (The remaining memory is probably due to xz
decompression overhead.)
Issue https://github.com/NixOS/nix/issues/1681.
Issue https://github.com/NixOS/nix/issues/1969.
Diffstat (limited to 'src/nix-prefetch-url/local.mk')
0 files changed, 0 insertions, 0 deletions