On Thu, 8 Dec 2016 17:50:41 +0100
"Enrico Weigelt, metux IT consult" <enrico.weig...@gr13.net> wrote:
> we've got a lot of trivila getters that are heavily used within
> their classes. As they're public and not final, the compiler can't
> inline them (it must assume that they might be overwritten by derived
> classes), which of course introduces a performance penalty.
> 
> Should we instead make them final or use the underlying fields
> directly ?

We could.  Patches welcome.  This is low priority stuff though.

Cheers,
Mike Pope

Attachment: pgpAH0cVyO8iH.pgp
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Freecol-developers mailing list
Freecol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freecol-developers

Reply via email to