There could be a hidden quadratic cost because the string needs to be reallocated and copied multiple times.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies:
There could be a hidden quadratic cost because the string needs to be reallocated and copied multiple times.