diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-07-03 23:29:17 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-07-03 23:44:19 +0200 |
commit | dd0ee954c4fa965023fd887452927c02edb8b52f (patch) | |
tree | 7954f2167dbf6b86efd58c6593158a280a89c8ac /gnu | |
parent | e85a7b7f8c6a2ef23b29968b3ddf09d922449c19 (diff) |
store: 'run-with-store' preserves the functional object cache.
This increases the hit rate of the object cache from 56% to 85% when
running something like 'guix build libreoffice -nd'.
* guix/store.scm (set-store-connection-object-cache!): New procedure.
(run-with-store): Copy 'object-cache' field of the new store into the
original one.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions