summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-02-19 22:30:30 +0100
committerLudovic Courtès <ludo@gnu.org>2021-02-23 15:24:49 +0100
commit0a912b3a434c9ff9515f9036feae4d3a7075fb2f (patch)
treeeb439e0465a690bd087e8ca932a05f2a8e67fe1b /doc
parentfcde4e10b87db9a71dbc115af548aeabe9068310 (diff)
downloadguix-0a912b3a434c9ff9515f9036feae4d3a7075fb2f.tar.gz
store: Micro-optimize object cache lookup.
This avoids a closure allocation when 'lookup-cached-object' is called.

* guix/store.scm (lookup-cached-object): Avoid optional/keyword
arguments and inline.
(%mcached): Adjust accordingly.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions