nix-output-monitor
nix-output-monitor copied to clipboard
try to replace tree based maps with hash maps or array
The memory footprint shows that a large part are the Maps in which we try to efficiently store different information. Maybe we can make this faster/smaller with a HashMap. Also since our IDs are actually tightly packed we might want to use an array or vector for doing the Int -> StorePath/Derivation lookup.