summary refs log tree commit diff
path: root/guix-gc.in
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-01-29 23:53:09 +0100
committerLudovic Courtès <ludo@gnu.org>2013-01-30 00:09:32 +0100
commitbdcf35a6b294c1db7ce78a5550ba51e067863069 (patch)
treef34dd05a0007348f2371a495398620b274f86b46 /guix-gc.in
parent2c3f47ee3a621f20d24ae5c78b1abc0eb00ba445 (diff)
downloadguix-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-gc.in')
0 files changed, 0 insertions, 0 deletions