techblog2022-06-04
Fast Cloning of Partial Slices in Rust
When you want to copy an array in Rust, what is actually the fastest approach? The short answer is: just use `clone_from_slice`.
When you want to copy an array in Rust, what is actually the fastest approach? The short answer is: just use `clone_from_slice`.