Return value optimization