summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-01-05 23:40:59 +0100
committerLudovic Courtès <ludo@gnu.org>2017-01-05 23:45:39 +0100
commit76c31074c89239bda31b29e78e63e878b17a57f9 (patch)
tree2037b36a26d29bc7dffdea1c5bb84151c97362e7 /emacs
parentfbec5abeef78ee52a56e3cd2183fd34baec47773 (diff)
derivations: Share a cache between 'derivation' and 'read-derivation'.
This leads a 13% speedup on 'guix build libreoffice -d' and 18% on 'guix build gnome -d'. * guix/derivations.scm (%derivation-cache): New variable. (read-derivation): Use it instead of the private 'cache' variable. (derivation): Populate %DERIVATION-CACHE before returning.
Diffstat (limited to 'emacs')
0 files changed, 0 insertions, 0 deletions