@websebdev @_byroot Could all be O(1) if we added ropes from TruffleRuby to MRI,
@websebdev @_byroot Good you rewrote the tweet, wanted to comment what you actually mean. 👍
@websebdev @_byroot Mmm I would advise something different! You better freeze all your string literals to save tons of memory. (by adding # frozen_string_literal: true at the beginning of every ruby file) And doing so, will make your strings immutable, so you can't do 'a' << 'b' anymore.
@websebdev @_byroot How about joining an array into a string? (May check that myself)