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).
jamie.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel