2 ms·
I don't think there is. It's quite common to use references as usual, and unnecessary param copying happens pretty rarely in most Rust code.
by Manishearth 11y ago
I don't think there is. It's quite common to use references as usual, and unnecessary param copying happens pretty rarely in most Rust code.
- pcwalton 11y agoI think there is, honestly—the JSON API is a legitimate example of that—but I think it's no worse in Rust than in C, where equivalent pressure already exists.