14 Oct
2005
14 Oct
'05
1:19 a.m.
On Thu, 13 Oct 2005 12:52:30 -0400, Daryle Walker wrote
On 10/12/05 5:38 AM, "John Maddock"
wrote: [SNIP]
And for those who think that in-place modification is the way to go: you do realise that it's often *slower* than building a new string don't you?
And what if the string uses more than half of the available space? (I'm not advocating in-place modification, but just mentioning that "return a copy" has its flaws too.)
That's why the library supports both interfaces -- essentially letting the user decide. Jeff