The GC and performance, but not what you expect

safety0ff via Digitalmars-d digitalmars-d at puremagic.com
Thu May 29 05:35:46 PDT 2014


On Thursday, 29 May 2014 at 10:09:18 UTC, Atila Neves wrote:
>
> The GC is preventing me from beating Java, but not because of
> collections. It's the locking it does to allocate instead! I
> don't know about the rest of you but I definitely didn't see 
> that
> one coming.

I would have seen it coming if the app. was multi-threaded.

Hopefully a re-write of the GC would include something akin to 
Boehm GC's THREAD_LOCAL_ALLOC / google's TCMalloc.


More information about the Digitalmars-d mailing list