mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
cb390735b0
Optimize switch sources representation and usage * Avoid constructing switch sources unless necessary - switch sources are used by backward analysis with a custom switch int edge effects, but are otherwise unnecessarily computed. * Use sparse representation of switch sources to avoid quadratic space overhead.
For more information about how rustc works, see the rustc dev guide.