Escaping the Tyranny of the GC: std.rcstring, first blood
Sean Kelly via Digitalmars-d
digitalmars-d at puremagic.com
Mon Sep 15 11:21:16 PDT 2014
On Monday, 15 September 2014 at 02:26:19 UTC, Andrei Alexandrescu
wrote:
>
> The road there is long, but it starts with the proverbial first
> step. As it were, I have a rough draft of a almost-drop-in
> replacement of string (aka immutable(char)[]). Destroy with
> maximum prejudice:
>
> http://dpaste.dzfl.pl/817283c163f5
So slicing an RCString doesn't increment its refcount?
More information about the Digitalmars-d
mailing list