diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-12-02 17:06:52 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-12-12 23:23:33 +0100 |
commit | 97e7e47d6f1e036e1ed6bd3f428e40d9794a3353 (patch) | |
tree | a2816fc59f1f4d9f2e570067414aa5073ac942e6 /etc | |
parent | 12d00767f036029f1f5738de644d4972db374f4f (diff) |
packages: Optimize ‘all-packages’.
On my laptop, wall-clock time for (all-packages) goes from 27s to 1s.
* gnu/packages.scm (all-packages): Use a hash table to remember visited
packages instead of calling ‘delete-duplicates’ on the final list.
Change-Id: I4aae804656b56ef2095993e91f0572a5891f419f
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions