summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-01-27 23:03:06 +0100
committerLudovic Courtès <ludo@gnu.org>2021-01-27 23:03:06 +0100
commit0f20b3fa2050ba6e442e340a204516b9375cd231 (patch)
tree474a4e64bd6cf1d9f1a99bce6fd51f6740f3aa10 /gnu
parentc45a821a63b73e1655314c028315114f34b26417 (diff)
downloadguix-0f20b3fa2050ba6e442e340a204516b9375cd231.tar.gz
inferior: Memoize entries in 'inferior-package->manifest-entry'.
Fixes a performance issue as reported by Ricardo Wurmus
in <https://bugs.gnu.org/46100>.

* guix/inferior.scm (inferior-package->manifest-entry): Remove #:parent parameter.
[cache]: New variable.
[memoized]: New macro.
[loop]: New procedure.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions