Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
maralorn opened this issue May 18, 2023 · 0 comments
Open

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

maralorn opened this issue May 18, 2023 · 0 comments
Labels
enhancement New feature or request internal

Comments

@maralorn
Copy link
Owner

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 maralorn added enhancement New feature or request internal labels May 19, 2023
blackheaven added a commit to blackheaven/nix-output-monitor that referenced this issue Oct 9, 2023
blackheaven added a commit to blackheaven/nix-output-monitor that referenced this issue Oct 10, 2023
maralorn pushed a commit to blackheaven/nix-output-monitor that referenced this issue Nov 26, 2023
maralorn pushed a commit to blackheaven/nix-output-monitor that referenced this issue Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request internal
Projects
None yet
Development

No branches or pull requests

1 participant