[fpc-devel] class abstract, class sealed implementation. please review.

"Vinzent Höfler" JeLlyFish.software at gmx.net
Sat Oct 17 13:14:15 CEST 2009


Florian Klaempfl <florian at freepascal.org>:

> From a compiler developers point of view, it makes optimization easier
> under certain cases (e.g. virtual method calls). It's the same as with
> inline: inline has no advantage except that it is a hint to the compiler
> how the code can be optimized.

I really doubt that "sealed" is just meant as hint to the compiler that the VMT remains static or something.


Vinzent.
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser



More information about the fpc-devel mailing list