dmd codegen improvements

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 28 17:02:59 PDT 2015


On Fri, Aug 28, 2015 at 11:57:06PM +0000, tsbockman via Digitalmars-d wrote:
> On Wednesday, 19 August 2015 at 22:15:46 UTC, tsbockman wrote:
> >I lack the assembly language skills to determine the cause(s) myself,
> >but my [CheckedInt](https://github.com/tsbockman/CheckedInt)
> >benchmark runs about 10x slower when compiled with DMD rather than
> >GDC. I'm sure there's some low-hanging fruit in there somewhere...
> 
> While doing some refactoring and updating CheckedInt for DMD 2.068, I
> have discovered one major source of slowness: DMD cannot inline even
> trivial struct constructors:
[...]

Sounds like very low-hanging fruit. Is there a bug reported for this
yet?


T

-- 
Which is worse: ignorance or apathy? Who knows? Who cares? -- Erich Schubert


More information about the Digitalmars-d mailing list