Array append performance 2

bearophile bearophileHUGS at lycos.com
Sun Aug 31 14:11:46 PDT 2008


Fawzi Mohamed:
> I had not thought about an important thing: the content of the array 
> can change... so copying is safer.

Yes, and there are other problems, that make the situation/code a mess, so I copy all items now, keeping code simpler. I'm debugging/benchmarking it now...

Later,
bearophile



More information about the Digitalmars-d mailing list