Am 02.07.2019 um 19:43 schrieb Michael Van Canneyt:


On Tue, 2 Jul 2019, Ryan Joseph wrote:



On Jul 2, 2019, at 10:32 AM, Michael Van Canneyt <mich...@freepascal.org> wrote:

It overwrites the first. There is no such thing as '2 VMT tables'.

That’s what I thought. How costly is this? Not sure what it’s doing under the hood but I’d like to know more.

As far as I know, it just moves a pointer in place, see:
https://www.freepascal.org/docs-html/current/prog/progsu166.html#x210-2240008.2.12
Looking at the code posted by Marco and what fpc_help_constructor does it seems to be a bit more...

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to