CTFE: Less Memory, More Speed!

Paolo Invernizzi paolo.invernizzi at gmail.com
Sat Sep 14 09:16:22 UTC 2019

On Saturday, 14 September 2019 at 06:52:25 UTC, Walter Bright 
> Rainer and I collaborated on switching CTFE from using the heap 
> to using a region allocator, which recycles the memory en masse 
> at CTFE exit. Rainer did some benchmarking:
> dmd 2.088: 1039 MB in 6.6 seconds
> master: 909 MB in 5.0 seconds
> https://github.com/dlang/dmd/pull/10396#issuecomment-531454363
> and it's looking like a sweet win!

I really really appreciate that kind of work on the compiler!

Kudos to both for the improvement!
Keep pushing on that way!


More information about the Digitalmars-d mailing list