Stop Over-optimizing your Rust
-
Stop Over-optimizing your Rust
Just cause Rust _lets_ you optimize your code, it doesn't mean you _should_!
Clone things if it makes your life easier! You can always come back and optimize it later if it turns out to matter. I’ve found that often what I thought was important to optimize up front was the wrong thing to focus on.
Copyright © 2024 NodeBB | Contributors