On Wednesday, 20 February 2013 at 09:44:39 UTC, deadalnix wrote:
As of you case specifically, I wouldn't do that, because you have no gain in duplicating the string in the function rather than before passing it.
You should look more closely. It's not unconditionally duplicated.
