Commit Graph

1 Commits

Author SHA1 Message Date
Pavel Yaskevich
3ea663571d [Sema] SpaceEngine: Improve handling of empty/non-reduced spaces in construtors/disjuncts
Eagerly remove empty (sub-)spaces from constructors and disjuncts
to minimize number of operations required to check space coverage.
Also return original constructor space while subtracting a pair of
constructors, instead of disjunct, if subtraction of one of its
sub-spaces produced the same space, this reduces the number of
disjuncts in the path.

Resolves: rdar://problem/39710335
2018-05-01 23:46:36 -07:00