This particular example with the string types was Haskell, but Rust often makes you think about performance decisions at all times as well. I'm fully aware that that's the point of Rust, however (and yes there are ways to stop worrying and just `clone`)
Out of curiosity, which language do you use where this kind of decision has to be made for daily programming problems?