Vinzent Höfler schrieb:
> Florian Klaempfl <flor...@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.

It might be more but at least from compiler developer's point of view it
can be used for this.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to