-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consider already selected packages during solve
We ran into a very very slow solve. I can't tell if it was actually slow or infinite, but it didn't seem to be convering very quickly. I realized that we essentially recurse the entire graph for every constraint, even for things we've already solved. This was surprising, because I thought we handled that already, but it seems like we didn't. A major concern I have for this change is that I believe it affects the order of the packages we return when we solve, which might affect how the actual filesystem gets put together when we install them. This might not actually be a problem given that in other places we _sort_ the package list when locking the apko config, which would generate a different install order, which would already be exercising my concern. So... if this is a problem, we haven't noticed it yet. Signed-off-by: Jon Johnson <[email protected]>
- Loading branch information
1 parent
cecb0d6
commit f870d65
Showing
2 changed files
with
84 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters