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 /srfi | |
parent | ead1f1086d1d64657ab710f4340dc5e4f79ea045 (diff) | |
download | guix-e4588af9697762e187c8caf4480a901362eb5420.tar.gz guix-e4588af9697762e187c8caf4480a901362eb5420.zip |
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 'srfi')
0 files changed, 0 insertions, 0 deletions