diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-04-02 16:01:32 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-04-02 16:07:40 +0200 |
commit | 27c68457d992895833a7b0a833679dc2efc9e188 (patch) | |
tree | 925e2f1ed5729dca33e143d4832d02b49f397920 /scripts | |
parent | d2952326ae18f50f6b3abefe0b12547556f9a1b8 (diff) | |
download | guix-27c68457d992895833a7b0a833679dc2efc9e188.tar.gz guix-27c68457d992895833a7b0a833679dc2efc9e188.zip |
guix package: 'search-path-environment-variables' traverses module tree once.
* guix/scripts/package.scm (search-path-environment-variables)[manifest-entry->package]:
Use 'find-best-packages-by-name' instead of 'find-packages-by-name'.
On a profile with 140 packages, this reduces execution time of this
procedure from 5.8 seconds to 2.9 seconds (50% improvement.)
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions