On 05/24/2010 02:29 PM, bearophile wrote:
Steven Schveighoffer:
Look at D's arrays. Is appending with D's arrays the fastest it possibly
could be? Hell no, but it's good enough for most situations, and safe.
Append in D dynamic arrays is awful, it's slow and requires complex code (and
currently there are not explanations about how it works in the D docs, see
http://d.puremagic.com/issues/show_bug.cgi?id=4091 ), so it's not a good
example to be copied :-) It's not fast enough for most situations, that's why
there is the need of an Appender still.
When was the last time you measured? I thought the speed has largely
improved since Steve integrated his work.
Andrei