You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • ...that would be visible in the implementation of +=... This though would mean that the interpreter would know the number of references to the string at the time of concatenation and make the copy if there are more than one references... It all depends how assignments and garbage collect work...

About

Avatar for allObjects @allObjects started