Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up make_simplified_union (#14370)
If there is only one non-union item, there's nothing interesting to do. This is pretty common, and it avoids a fairly expensive `_remove_redundant_union_items` call. (Various small optimizations, including this, together netted a 6% performance improvement in self check.)
- Loading branch information