4 ms·
vec![1.0; 1_000_000_000] is Rust notation for an array that contains 1.0 one billion times. I can understand it's a bit confusing/frustrating if you're unfamili
by orlp 2y ago
vec![1.0; 1_000_000_000] is Rust notation for an array that contains 1.0 one billion times. I can understand it's a bit confusing/frustrating if you're unfamiliar with Rust syntax, sorry.
- exmadscientist 2y agoThat makes things make a lot more sense, thanks! Kind of unfortunate that that syntax is so trivial to misread, but it is what it is.