DMD compilation speed
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Tue Mar 31 15:21:40 PDT 2015
On Tuesday, 31 March 2015 at 21:53:29 UTC, Martin Nowak wrote:
> On 03/31/2015 08:24 PM, deadalnix wrote:
>> I'm going to propose again the same thing as in the past :
>> - before CTFE switch pool.
>> - CTFE in the new pool.
>> - deep copy result from ctfe pool to main pool.
>> - ditch ctfe pool.
>
> No, it's trivial enough to implement a full AST interpreter.
> The way it's done currently (using AST nodes as CTFE
> interpreter values)
> makes it very hard to use a distinct allocator, because
> ownership can
> move from CTFE to compiler and vice versa.
This is why I introduced a deep copy step in there.
More information about the Digitalmars-d
mailing list