diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-04-29 18:13:10 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-04-29 18:13:10 +0200 |
commit | be4e38fb6f8f2da9de4f9c6ff9e448a9dc178c8d (patch) | |
tree | 1aa8c8569085ee3d2734a119300eead5d62bd787 /gnu/packages | |
parent | 2c6b7c7d55772be745e8cc615a0868ccc2182e62 (diff) | |
download | patches-be4e38fb6f8f2da9de4f9c6ff9e448a9dc178c8d.tar patches-be4e38fb6f8f2da9de4f9c6ff9e448a9dc178c8d.tar.gz |
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".
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions