This is just replicating the previous algorithm, but taking advantage of the bitset structures to optimize into tighter and better optimized loops. Particularly advantageous on enormous MIR blocks, which are relatively rare in practice.
15 lines
345 B
Rust
15 lines
345 B
Rust
#![feature(allow_internal_unstable)]
|
|
#![feature(bench_black_box)]
|
|
#![feature(extend_one)]
|
|
#![feature(iter_zip)]
|
|
#![feature(min_specialization)]
|
|
#![feature(step_trait)]
|
|
#![feature(test)]
|
|
#![feature(let_else)]
|
|
|
|
pub mod bit_set;
|
|
pub mod vec;
|
|
|
|
// FIXME(#56935): Work around ICEs during cross-compilation.
|
|
#[allow(unused)]
|
|
extern crate rustc_macros;
|