You are reading a single comment by @tve and its replies. Click here to read the full conversation.
  • If I have a long string (say 2KB) is there a way to append to it without causing a second copy of the string to be made? E.g., does str += "more text" cause me to temporarily hold two copies in memory?

About

Avatar for tve @tve started