News for hackers. Stuff that matters.
Re:Appending to an std:string character-by-character: how do... by sltkr on Thursday October 26, 2023 @07:28PM (#38032964)
No, because appending with push_back() which strings must also support is required to have O(1) amortized time.

See my comment here for details: https://news.ycombinator.com/item?id=38032949

There are no comments on this comment yet.