aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-03-04 23:10:28 +0100
committerLudovic Courtès <ludo@gnu.org>2016-03-05 00:19:10 +0100
commitd4da602e4c28d704ee04ec57887fa14b134c7ebb (patch)
tree7242ce7745ceedd28401f8698636dc523c8f0212 /tests
parentfcadd9ff9dfd57c4d386287477e665d4efe9090d (diff)
downloadguix-d4da602e4c28d704ee04ec57887fa14b134c7ebb.tar
guix-d4da602e4c28d704ee04ec57887fa14b134c7ebb.tar.gz
grafts: Memoize intermediate results in 'cumulative-grafts'.
The time for: guix build inkscape -n --no-substitutes goes down by 30% (in the presence of 3 replacements among all the packages.) * guix/grafts.scm (cumulative-grafts): Turn into a monadic procedure in %STATE-MONAD. Use the current state as a derivation-to-graft cache. (graft-derivation): Call 'cumulative-grafts' within 'run-with-state'.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions