Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify marker simplification (#530)
Try to use reduction to DNF and CNF as much as possible to achieve marker simplifications, in the hope that: - it's more general than the collection of heuristics we currently have - it simplifies the code The potential downside of this approach is that cnf() and dnf() can, in the worst case, be exponentially expensive. eg `cnf((a1 and b1) or (a2 and b2) or ... (an and bn))` generates 2^n intersections. In practice, markers on python packages seem not to get long enough for this to be an issue. Co-authored-by: Randy Döring <30527984+radoering@users.noreply.github.com>
- Loading branch information