diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-01-29 23:53:09 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-01-30 00:09:32 +0100 |
commit | bdcf35a6b294c1db7ce78a5550ba51e067863069 (patch) | |
tree | f34dd05a0007348f2371a495398620b274f86b46 /guix-import.in | |
parent | 2c3f47ee3a621f20d24ae5c78b1abc0eb00ba445 (diff) | |
download | guix-patches-bdcf35a6b294c1db7ce78a5550ba51e067863069.tar guix-patches-bdcf35a6b294c1db7ce78a5550ba51e067863069.tar.gz |
store: Cache `add-text-to-store' results.
* guix/store.scm (<nix-server>)[atts-cache]: New field.
(add-text-to-store/cached): New procedure. Use it as a wrapper around
`add-text-to-store'.
When running "guix-build gdb", this reduces the number of RPCs from
3048 to 289, and execution time from 4.7s to 2.6s.
Diffstat (limited to 'guix-import.in')
0 files changed, 0 insertions, 0 deletions