Dude about ~ array concatenation performance

Max Haughton maxhaton at gmail.com
Tue Dec 1 23:43:31 UTC 2020


On Tuesday, 1 December 2020 at 22:49:55 UTC, ddcovery wrote:
> Yesterday I really shocked when, comparing one algorithm 
> written in javascript and the equivalent in D, javascript 
> performed better!!!
>
> [...]

Use ldc, rdmd can invoke it for you. DMD's optimizer is not even 
close to as advanced as a modern JavaScript engine's - that's why 
we use it for fast build times instead of performance.


More information about the Digitalmars-d-learn mailing list