[fpc-pascal] Virtual object methods

Michael Van Canneyt michael at freepascal.org
Tue Jul 2 19:43:56 CEST 2019



On Tue, 2 Jul 2019, Ryan Joseph wrote:

>
>
>> On Jul 2, 2019, at 10:32 AM, Michael Van Canneyt <michael at 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


Michael.


More information about the fpc-pascal mailing list