Skip to content
Snippets Groups Projects
Commit be4e38fb authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

derivations: Micro-optimize 'derivation'.

* guix/derivations.scm (derivation->string): New procedure.
  (derivation-hash, derivation): Use it.
  Memoization here yields a 5% improvement on "guix build -e '(@ (gnu
  packages emacs) emacs)' -n --no-substitutes".
parent 2c6b7c7d
No related branches found
No related tags found
Loading
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