Hi,
In message "[ruby-talk:15197] Re: Discussion on new Ruby features"
on 01/05/16, Christian Szegedy <szegedy / or.uni-bonn.de> writes:
|In order to maintain backwards compatibility, there would also
|be another possibility:
The only elegant solution I can think of:
* introduce reference counting.
* + for String and Array (and others) concat to self, if reference
count is 1, which means there's no alias to the object.
But I'm still not sure if we have to "solve" this "problem".
Performance is important, but it's not most important.
matz.