Pop quiz [memory usage]
Jarrett Billingsley
jarrett.billingsley at gmail.com
Sat Jun 6 11:21:19 PDT 2009
On Sat, Jun 6, 2009 at 1:42 PM, bearophile<bearophileHUGS at lycos.com> wrote:
> Sean Kelly:
>> Particularly in D2 where append
>> operations on arrays are probably less common as a result of string
>> being invariant.
>
> They aren't much common maybe because they are currently dead-slow. Appending to an immutable string is a common operation. But I guess Array appenders will get more common...
Especially since D2 has one in the stdlib. I always find myself
writing my own anyway, since I don't like depending on unspecified
heap behavior.
More information about the Digitalmars-d
mailing list