Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Call skolemize_late_bound_regions only after fast rejection #24615
skolemize_late_bound_regions essentially copies the entire type (most of the times it shouldn't, but it does), and match_impl runs millions of times.
Times compiling rustc, tested with
Making this is a 10% performance improvement.
LLVM passes took 867 seconds before, 862 seconds after.