Naive node.js faster than naive LDC2?

aberba karabutaworld at
Sat Aug 22 08:28:22 UTC 2020

On Saturday, 22 August 2020 at 00:10:43 UTC, H. S. Teoh wrote:
> On Fri, Aug 21, 2020 at 04:49:44PM -0700, H. S. Teoh via 
> Digitalmars-d wrote: [...]
> Surprisingly, the class version does *better* than the struct 
> version when compiled with dmd.  (Wow, is dmd codegen *that* 
> bad that it outweighs even class allocation overhead?? :-D)

Or maybe DMD is not trying to win any performance context... just 
focusing on fast compilation for quick prototyping. Something you 
wouldn't getting otherwise without DMD.

More information about the Digitalmars-d mailing list