[fpc-devel] don't you think it'stime toupdatedelphimodecompatibility? - IDispatch, implements

Jamie McCracken jamie-junk at blueyonder.co.uk
Sun May 29 14:26:59 CEST 2005

>> well thats soemthing you should add to your to do list. Automatic 
>> inlining can deliver a signifcant performance improvement especially 
>> as delphi uses a lot of one line procedures to set property values. A 
>> fucntion call adds quite a bit of overhead (around 10+ clock cycles at 
>> a guess)
> But inlining doesn't help if the one line procedures are virtual 
> methods. 

Well thats not a limitation on other languages. EG for Java the get/set 
property methods were identified as causing one of the biggest 
performance hits and thats why now almost every JIT/AOT inlines them 
automatically (the same also applies to Mono).


More information about the fpc-devel mailing list