nix-output-monitor icon indicating copy to clipboard operation
nix-output-monitor copied to clipboard

try to replace tree based maps with hash maps or array

Open maralorn opened this issue 2 years ago • 0 comments

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.

maralorn avatar May 18 '23 13:05 maralorn