3 ms·
For those kinds of tasks, a string doesn't seem all that appropriate to me. The BigString (that is, a Rope[1]) is more appropriate IMHO. [1] http://en.wikipedi
by dkersten 15y ago
For those kinds of tasks, a string doesn't seem all that appropriate to me. The BigString (that is, a Rope[1]) is more appropriate IMHO.
[1] http://en.wikipedia.org/wiki/Rope_(computer_science) http://en.wikipedia.org/wiki/Rope_(computer_science)
- Dove 15y agoThat's kind of what I mean. The fact that null-terminated strings can get arbitrarily long doesn't seem like a big advantage. I mean, if you're working with really long strings, you probably want to use something more sophisticated than a character array anyway.