maralorn / nix-output-monitor

Pipe your nix-build output through the nix-output-monitor a.k.a nom to get additional information while building.
GNU Affero General Public License v3.0
835 stars 24 forks source link

try to replace tree based maps with hash maps or array #98

Open maralorn opened 1 year ago

maralorn commented 1 year ago

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.