Bottom line re GC in D

Atila Neves via Digitalmars-d digitalmars-d at puremagic.com
Mon Aug 4 01:02:31 PDT 2014


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


More information about the Digitalmars-d mailing list