It seems there is a performance regression related to Box::new() between 1.18 and 1.19 beta.
use std::time::Instant;
fn main() {
    let timer = Instant::now();
    for _ in 0..100000 {
        Box::new([0; 1000]);
    }
    println!("{:?}", timer.elapsed());
}In Release/Stable:
rustc 1.18.0 (03fc9d622 2017-06-06)
Duration { secs: 0, nanos: 107624 }
In Release/Beta, it's ~200× slower:
rustc 1.19.0-beta.1 (a87984118 2017-06-06)
Duration { secs: 0, nanos: 22355940 }
https://is.gd/AaDx3A