Regarding std.array.Appender
Adam D. Ruppe
destructionator at gmail.com
Wed Feb 29 18:29:06 PST 2012
On Thursday, 1 March 2012 at 02:23:55 UTC, bearophile wrote:
> But for me it's weird that Appender doesn't use the D operator
> to _append_. [...] I suggest to give it both "put" method and
> "~=" operator.
I agree entirely.
Another annoyance is if you have a function that works on
regular arrays, you probably used ~=.
But you decide to switch to Appender to try for a speed boost.
Now you have to change all the usage too, since the interfaces
are incompatible!
More information about the Digitalmars-d-learn
mailing list