Re:Ropes, an Alternative to Strings [pdf] (1995)
by bonzini on Sunday November 01, 2020 @05:31AM
(#24958532)
Appending to a string buffer that grows exponentially will copy roughly twice as many bytes as building the result in a buffer that has the exact size. If you have to copy out of the resizable buffer into an exact-size area of memory, that becomes three times.
[ Parent
| on HN ]