> On Jan 30, 2024, at 3:56 AM, Michael Van Canneyt via fpc-devel 
> <fpc-devel@lists.freepascal.org> wrote:
> 
> Unfortunately I still don't understand after your explanation what adding 
> 'final' is supposed to accomplish. It may well be legitimate, but I have 
> currently no opinion as I don't understand it.

Final means there is no possible implementation in another subclass so the 
compiler doesn't need to invoke the method via the vtable. Ideally this works 
on the class level too because it's a useful optimization.

Regards,
Ryan Joseph

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to