4 ms·
As far as I know, DMD doesn't offer much optimisations. So you use DMD for development, and once the testing is done, built the production release with LDC or
by anta40 4y ago
As far as I know, DMD doesn't offer much optimisations.
So you use DMD for development, and once the testing is done, built the production release with LDC or GDC.
- WalterBright 4y agoDMD does do all the basic data flow analysis optimizations, along with register allocation by coloring, etc. The problem is there are just a ton of special cases needed to generate good code, especially with the x86 instruction set which is nothing but special cases <g>. Doing these takes a lot of developer time, one by one.