47bc774ab6
This patch changes `opt_normalize_project_type` so it appends obligations to a given obligations vector, instead of returning a new obligations vector. This change avoids lots of allocations. In the most extreme case, for a clean "Check" build of serde it reduces the total number of allocations by 20%. |
||
---|---|---|
.. | ||
Cargo.toml | ||
dropck_outlives.rs | ||
evaluate_obligation.rs | ||
lib.rs | ||
lowering.rs | ||
normalize_erasing_regions.rs | ||
normalize_projection_ty.rs | ||
util.rs |