> On Feb 16, 2021, at 11:48 AM, Sven Barth <[email protected]> wrote:
>
> If you need to create 1000 class instances each frame then you have a flaw in
> your logic in my opinion.
>
You can reuse classes and reset fields but getting a new piece of memory could
be faster. These things do happen and adding on class allocation performance
penalties could be a problem. I need to profile first to know what we're
talking about here.
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal