mypy
9183b284 - Speed up make_simplified_union (#14370)

Commit
3 years ago
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.)
Author
Parents
Loading