On Thursday, 10 July 2014 at 22:31:55 UTC, Vlad Levenfeld wrote:
On Thursday, 10 July 2014 at 22:28:46 UTC, H. S. Teoh via
Digitalmars-d wrote:
std.array.appender?
I tried it, it was much better than the default append but
still several times slower than a manually overload.
There's also this, which is much faster than std.array.appender:
http://wiki.dlang.org/Std.buffer.scopebuffer
I wrote a blog post on using it:
http://atilanevesoncode.wordpress.com/2014/03/31/increasing-performance-with-static-polymorphism-and-other-neat-tricks/
Atila