Re:Increasing the D Compiler Speed by Over 75%
by qznc on Thursday July 25, 2013 @03:16PM
(#6104365)
I reverted that part in dmd once. Same speed on my Intel i7 processor. Branching vs division is probably a tricky tradeoff.
[ Parent
| on HN ]
Re:Increasing the D Compiler Speed by Over 75%
by WalterBright on Thursday July 25, 2013 @04:39PM
(#6104821)
It's worth checking the generated assembler to see if the optimization actually took place in your build.
Note that you may be using an older dmc which did not do the divide optimization.