On Sun, Oct 18, 2009 at 07:28, Jonas Maebe <jonas.ma...@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 _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel