]> git.lizzy.rs Git - rust.git/commit
Use sparse representation of switch sources
authorTomasz Miąsko <tomasz.miasko@gmail.com>
Sun, 8 May 2022 00:00:00 +0000 (00:00 +0000)
committerTomasz Miąsko <tomasz.miasko@gmail.com>
Sun, 8 May 2022 21:48:23 +0000 (23:48 +0200)
commit2be012a0c664bf1ee90af0e5cac9a3e3e24f4666
tree3db2ef367e84fcfcb6adba09433e1e41cd3acc60
parentfbc3cc18bee7fb6dfd39e11521783f00506ca06b
Use sparse representation of switch sources

to avoid quadratic space overhead
compiler/rustc_middle/src/mir/mod.rs
compiler/rustc_middle/src/mir/switch_sources.rs
compiler/rustc_mir_dataflow/src/framework/direction.rs