CTFE: Less Memory, More Speed!

SashaGreat s at g.com
Sat Sep 14 14:05:35 UTC 2019


On Saturday, 14 September 2019 at 06:52:25 UTC, Walter Bright 
wrote:
> ... Rainer did some benchmarking:
>
> dmd 2.088: 1039 MB in 6.6 seconds
> master: 909 MB in 5.0 seconds

For a Win32 release

> and it's looking like a sweet win!

Another test showed:

> ... in a Linux x64 VM; using dmd 2.082.0 as host compiler (and 
> ENABLE_RELEASE), best of 3 runs:

>e9840d3: 1,600 MB in 0:23.62, -lowmem: 419 MB in 0:43.57
>master (bc93e5e): 1,462 MB in 0:22.02, -lowmem: 419 MB in 0:42.56

I think it needs much more improvement.

S.


More information about the Digitalmars-d mailing list