Hi List,
Per my understanding, return x would make a new copy of the object. What if the returned object is mutable? Will this make a new (mutable) object?
My concern is if I created a very large mutable object, does return mutable make a full copy of the original mutable data, or just copy a reference (pointer?)?
Thanks
baojun