mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-23 13:28:48 +00:00

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.