Make bench/noise.rs more idiomatic and 20x faster
auto merge of #5695 : bstrie/rust/noise, r=thestinger

With --opt-level=3, this version runs in 0.014s on my machine, compared to 0.252s for the previous version. Mostly due to the #[inline] on get().