CTFE Status

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 5 08:28:20 PST 2016


On Monday, 5 December 2016 at 07:48:31 UTC, Stefan Koch wrote:
>
> I found an easily fixable performance problem inside the 
> byte-code generator.
> Causing it to allocate 800K per discovery of a new type.
> Reducing this will probably make IR generation 10 times faster 
> in the average case.
> Clearing 800K takes quite some time.

I just fixed this.
As predicted, the taken time to generate byte-code is now greatly 
reduced.
This has a really huge impact.
It looks like the performance wins brought by the new ctfe engine 
might be higher then I predicted.


More information about the Digitalmars-d mailing list