Escaping the Tyranny of the GC: std.rcstring, first blood

Rainer Schuetze via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 15 08:59:22 PDT 2014



On 15.09.2014 07:49, Andrei Alexandrescu wrote:
>> I would assume RCString should be faster than string, so could you
>> provide a benchmark of the two.
>
> Good idea. It likely won't be faster for the most part (unless it uses
> realloc and realloc is a lot faster than GC.realloc).

Do you have any benchmarks to share? Last time I measured, the GC is 
quite a bit faster with manual memory management than the C runtime on 
Win32 and on par on Win64.


More information about the Digitalmars-d mailing list