diff options
author | Graham Christensen <graham@grahamc.com> | 2019-03-05 16:37:49 -0500 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2019-03-05 16:37:52 -0500 |
commit | 09362bc3e88f7e78953bcd312b6bd86191ce4d65 (patch) | |
tree | 976a8acb6cbc079a2441bec70a50f71c77b3a55c /nixos/modules | |
parent | 54826e7471fb5c8ccfff47fd0389f7a89ec3b67d (diff) | |
download | nixpkgs-09362bc3e88f7e78953bcd312b6bd86191ce4d65.tar nixpkgs-09362bc3e88f7e78953bcd312b6bd86191ce4d65.tar.gz nixpkgs-09362bc3e88f7e78953bcd312b6bd86191ce4d65.tar.bz2 nixpkgs-09362bc3e88f7e78953bcd312b6bd86191ce4d65.tar.lz nixpkgs-09362bc3e88f7e78953bcd312b6bd86191ce4d65.tar.xz nixpkgs-09362bc3e88f7e78953bcd312b6bd86191ce4d65.tar.zst nixpkgs-09362bc3e88f7e78953bcd312b6bd86191ce4d65.zip |
references-by-popularity: cache computation to avoid memory bloat
On very large graphs (14k+ paths), we'd end up with a massive in memory tree of mostly duplication. We can safely cache trees and point back to them later, saving memory.
Diffstat (limited to 'nixos/modules')
0 files changed, 0 insertions, 0 deletions