[Issue 6498] [CTFE] copy-on-write is slow and causes huge memory usage

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 10 11:53:21 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=6498

--- Comment #8 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Iain Buclaw from comment #7)
> v2.080:
> Maximum resident set size (kbytes): 1104116  
> v2.085.0:
> Maximum resident set size (kbytes): 636044
> v2.089.0:
> Maximum resident set size (kbytes): 637204
> v2.100.0:
> Maximum resident set size (kbytes): 482504
> -lowmem (as of v2.090):
> Maximum resident set size (kbytes): 28760
It's still nearly 500MB, so only 2x better than where we were 4 years ago, and
still a far cry away from the possible 30MB we could instead by managing with.

I also note that the compiler has slowed down by 1 second since v2.080 as well,
so CTFE is not getting faster at all...

--


More information about the Digitalmars-d-bugs mailing list