Virtual Methods hurting performance in the DMD frontend

Johan Engelen via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 14 04:21:03 PDT 2016


On Tuesday, 13 September 2016 at 21:01:34 UTC, Stefan Koch wrote:
> On Monday, 12 September 2016 at 08:03:45 UTC, Stefan Koch wrote:
>> On Sunday, 11 September 2016 at 21:48:56 UTC, Stefan Koch 
>> wrote:
>>> Those are indirect class
>> I meant indirect calls!
>>
>> @Jacob
>>
>> Yes that is my indented solution.
>> Having a type-field in root-object.
>
> A Small update on this.
> When dmd is complied with ldc this problem seems to lessen.

Try PGO with LDC 1.1.0-beta.
https://johanengelen.github.io/ldc/2016/04/13/PGO-in-LDC-virtual-calls.html



More information about the Digitalmars-d mailing list