[fpc-devel] class abstract, class sealed implementation. please review.
Alexander Klenin
klenin at gmail.com
Sun Oct 18 08:10:07 CEST 2009
On Sun, Oct 18, 2009 at 07:28, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
> FPC can already do this automatically for all classes in the entire program
> with whole-program optimization. You don't need sealed classes for this
> (they might slightly improve those optimizations, but I doubt it will be
> noticeable in real life -- even doing it for an entire program using WPO
> generally has no noticeable effects on speed, and only marginal effects on
> code size).
So, what do you think about my version of sealed semantics for OBJFPC mode?
I think the use case I described gives real, although admittedly very small,
benefit, compared to no benefit (apart from compatibility) of Delphi semantics.
--
Alexander S. Klenin
More information about the fpc-devel
mailing list