newCTFE Status August 2017

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Sun Aug 13 08:51:04 PDT 2017


On Tuesday, 1 August 2017 at 21:27:32 UTC, Stefan Koch wrote:
> [ ... ]

Hi there,

I've just adjusted the memory allocation behavior.
newCTFE will now start-out allocating 32M of memory at startup.
and increase the allocated space in 8x steps if it hits the limit 
while executing concat code.
In which case of course it needs to copy 32meg in the worst-case.
Therefore you will feel a noticeable slowdown if are using ~= and 
happen to just go slightly over the limit.
But if you overstep the limit by much the increased speed of 
concat will compensate for the hit.

The new behavior enables us to compile on 32bit targets again.




More information about the Digitalmars-d mailing list