Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Short-circuit DefIdForest::intersection()
If the forest is already empty, there is no point in intersecting further. Also handle the first element separately, so we don't compute an unnecessary intersection between the full forest and the first element, which is always equal to the first element.
- Loading branch information