Skip to content
Snippets Groups Projects
Commit 759947bf authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

StorePath: Rewrite in C++

On nix-env -qa -f '<nixpkgs>', this reduces maximum RSS by 20970 KiB
and runtime by 0.8%. This is mostly because we're not parsing the hash
part as a hash anymore (just validating that it consists of base-32
characters).

Also, replace storePathToHash() by StorePath::hashPart().
parent 72e17290
No related branches found
No related tags found
Loading
Showing
with 106 additions and 107 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment