summaryrefslogtreecommitdiff
path: root/test-env.in
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-09-29 21:39:39 +0200
committerLudovic Courtès <ludo@gnu.org>2014-09-29 22:03:46 +0200
commit9ffc1c00e55eb7931846dbb3fafcf54716fff57c (patch)
treee4db3cb23fddd47a85febf843a147248710a1179 /test-env.in
parent34942e959744129d848ed430a595a3f5e887e1dc (diff)
downloadguix-patches-9ffc1c00e55eb7931846dbb3fafcf54716fff57c.tar
guix-patches-9ffc1c00e55eb7931846dbb3fafcf54716fff57c.tar.gz
packages: Optimize 'find-packages-by-name' to avoid disk accesses.
On a profile with 182 entries, "guix package --search-paths" goes from 4.5 seconds down to 0.4 second. * gnu/packages.scm (find-packages-by-name): Make a name -> package vhash in a promise; access it with 'vhash-fold*'.
Diffstat (limited to 'test-env.in')
0 files changed, 0 insertions, 0 deletions