maralorn / nix-output-monitor

Pipe your nix-build output through the nix-output-monitor a.k.a nom to get additional information while building.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

try to replace tree based maps with hash maps or array

maralorn opened this issue · 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.