mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Move disjunction selection logic one level up from the `solveSimplified` which allows to simplify its logic and avoid collecting disjunctions multiple times for each solver step. Sort constraint components/buckets based on how many disjunctions they have, that helps to prune some of the branches with incorrect solutions early which limits overall depth of the search. Resolves: SR-4714
4.5 KiB
4.5 KiB