Appender is ... slow
monarch_dodra via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Aug 15 06:17:39 PDT 2014
On Friday, 15 August 2014 at 12:08:58 UTC, Philippe Sigaud via
Digitalmars-d-learn wrote:
> Hmm, what about a sort of linked list of static arrays, that
> allocates
> a new one when necessary?
Appender is not a container, and has no freedom on the data it
manipulates. It has to be able to accept an array as input, and
when it is finished, it needs to be able to return an actual
array, so that's arguably out of the question.
More information about the Digitalmars-d-learn
mailing list