Data-Flow (Escape) Analysis to Aid in Avoiding GC

Tobias Pankrath via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Feb 13 03:52:49 PST 2015


On Friday, 13 February 2015 at 11:34:50 UTC, Per Nordlöw wrote:
> On Friday, 13 February 2015 at 09:13:48 UTC, Kagamin wrote:
>> Whether s.front uses GC is determined by s.front 
>> implementation, caller can't affect it.
>
> Compiling
>
> https://github.com/nordlow/justd/blob/master/t_splitter.d
>
> with -vgc on dmd git master gives no warnings about GC 
> allocations!
>
> Is this really true!?

Why should splitter.front allocate?


More information about the Digitalmars-d-learn mailing list