On 01/08/2013 00:32, Walter Bright wrote:
Thanks for doing this, this is good information.
On 7/31/2013 2:24 PM, Rainer Schuetze wrote:
I have just tried yesterdays dmd to build Visual D (it builds some
contains a few short non-compiling tasks in between):
Debug build dmd_dmc: 23 sec, std new 43 sec
Debug build dmd_msc: 19 sec, std new 20 sec
That makes it clear that the dmc malloc() was the dominator, not code gen.
It still appears that the DMC malloc is a big reason for the difference
between DMC and MSVC builds when compiling the algorithm unit tests. (a
very quick test suggests that changing the global new in rmem.c to call
HeapAlloc instead of malloc gives a large speedup).