Feature Request: nontrivial functions and vtable optimizations

Craig Black craigblack2 at cox.net
Thu Aug 14 19:38:20 PDT 2008


"Christopher Wright" <dhasenan at gmail.com> wrote in message 
news:g7uhpk$308b$2 at digitalmars.com...
> Craig Black wrote:
>> Rather than relying on PGO, I would prefer the ability to assign a 
>> priorities to virtual functions in the code.  This would indicate to the 
>> compiler what virtual functions will be called the most.
>>
>> -Craig
>
> Or you could wait a bit[1] and have LLVM do that for you, assuming you're 
> willing to run LLVM bytecode. And considering it's LLVM, you could 
> probably hack it to periodically dump the optimized code. So you'd 
> optimize your application by fooling around with it for a couple hours.
>
> [1] "A bit" may be as long as a decade. I dunno.

The LLVM based D compiler seems promising.  Hopefully it will mature soon.

-Craig 




More information about the Digitalmars-d mailing list