dmd codegen improvements

tsbockman via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 28 17:13:56 PDT 2015


On Saturday, 29 August 2015 at 00:06:39 UTC, H. S. Teoh wrote:
> 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

I couldn't find one, so I made a new one just now:
     [Issue 14975](https://issues.dlang.org/show_bug.cgi?id=14975)



More information about the Digitalmars-d mailing list