PotHix Molinari

1673 days ago

Should Small Rust Structs be Passed by-copy or by-borrow?

forrestthewoods.com

Like many good stories, this one started with a simple question. Should small Rust structs be passed by-copy or by-borrow? For example: This simple question sent me on a benchmarking odyssey with some surprising twists and discoveries.