[fpc-pascal] Traits Proposal
Marco van de Voort
fpc at pascalprogramming.org
Tue Feb 16 21:27:04 CET 2021
Op 2021-02-16 om 19:21 schreef Ryan Joseph via fpc-pascal:
> Interfaces are extremely slow. Virtual method calls are also slow. I have been using interfaces for reference counting, and have been thinking to replace it all with managed records because they are so slow (unfortunately records can also be slow because fpc does not always keep them in registers even if they are pointer sized)
And there often is a lot of unintentional deep copying. This is also why
a property returning a record is fairly useless except for extremely
small records like TPoint (and even that is not optimal no
More information about the fpc-pascal
mailing list