[fpc-pascal] interfaces and smartpointers [was Traits Proposal]

Ryan Joseph genericptr at gmail.com
Thu Feb 18 02:25:05 CET 2021



> On Feb 17, 2021, at 4:51 PM, Benito van der Zander via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> 
> I benchmarked it years ago, I do not remember the details.
> 
> But InitInterfacePointers was bad. Just look at it:
> 

That's not great for sure. Fillchar could be a big culprit also actually. I for one would like I way to disable that for special circumstances.

I don't Lazarus usually and I can't get the debugger to work on my Mac so tried Compiler Explorer. Not seeing the method calls here though.

https://godbolt.org/z/cjY3Te

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list