mirror of
https://github.com/mudler/luet.git
synced 2025-08-31 23:02:16 +00:00
Use BuildWorld() instead of BuildPartialWorld() in solver.Solve
We now have a stronger cache system while we pre-compute also RevDeps in a hashmap, this makes now makes BuildWorld() much more performant.
This commit is contained in:
@@ -741,7 +741,7 @@ func (s *Parallel) Uninstall(checkconflicts, full bool, packs ...pkg.Package) (p
|
||||
func (s *Parallel) BuildFormula() (bf.Formula, error) {
|
||||
var formulas []bf.Formula
|
||||
|
||||
r, err := s.BuildPartialWorld(false)
|
||||
r, err := s.BuildWorld(false)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
@@ -661,7 +661,7 @@ func (s *Solver) Uninstall(checkconflicts, full bool, packs ...pkg.Package) (pkg
|
||||
// BuildFormula builds the main solving formula that is evaluated by the sat solver.
|
||||
func (s *Solver) BuildFormula() (bf.Formula, error) {
|
||||
var formulas []bf.Formula
|
||||
r, err := s.BuildPartialWorld(false)
|
||||
r, err := s.BuildWorld(false)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Reference in New Issue
Block a user