diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-10-08 22:07:19 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-10-08 22:07:19 +0200 |
commit | e4588af9697762e187c8caf4480a901362eb5420 (patch) | |
tree | a1237de3d8236463fbc3058bfcf57f1a56d9f022 /guix.scm | |
parent | ead1f1086d1d64657ab710f4340dc5e4f79ea045 (diff) | |
download | patches-e4588af9697762e187c8caf4480a901362eb5420.tar patches-e4588af9697762e187c8caf4480a901362eb5420.tar.gz |
packages: Fix and optimize memoization of `package-derivation'.
* guix/packages.scm (%derivation-cache): Pass an initial size of 100.
(cache): Use `hashq-set!', and use a SYSTEM/DRV pair as the value.
(cached-derivation): Update accordingly.
Diffstat (limited to 'guix.scm')
0 files changed, 0 insertions, 0 deletions