[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74654] [PATCH 2/5] packages: Optimize ‘all-packages’.
From: |
David Elsing |
Subject: |
[bug#74654] [PATCH 2/5] packages: Optimize ‘all-packages’. |
Date: |
Mon, 02 Dec 2024 23:47:48 +0000 |
Hi,
Ludovic Courtès <ludo@gnu.org> writes:
> 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.
Thanks for fixing this, commit 4b5dae8 also made
`guix graph -t reverse-package` much slower, because `delete-duplicates`
had not been used in the old `all-packages` procedure before. I wanted
to make a patch, but then saw your series already. :)
Cheers,
David
- [bug#74654] [PATCH 0/5] Optimize 'all-packages'; add ungrafting manifest, Ludovic Courtès, 2024/12/02
- [bug#74654] [PATCH 1/5] etc: Move manifests to a separate directory., Ludovic Courtès, 2024/12/02
- [bug#74654] [PATCH 3/5] build-system/cargo: Simplify ‘crate-closure’., Ludovic Courtès, 2024/12/02
- [bug#74654] [PATCH 2/5] packages: Optimize ‘all-packages’., Ludovic Courtès, 2024/12/02
- [bug#74654] [PATCH 5/5] maint: Add ungrafting manifest., Ludovic Courtès, 2024/12/02
- [bug#74654] [PATCH 4/5] guix build: Last argument of ‘dependents’ is optional., Ludovic Courtès, 2024/12/02
- [bug#74654] [PATCH 0/5] Optimize 'all-packages'; add ungrafting manifest, Ludovic Courtès, 2024/12/12
- [bug#74654] [PATCH 0/5] Optimize 'all-packages'; add ungrafting manifest, Ludovic Courtès, 2024/12/12