[fpc-pascal] Interface performance

Ryan Joseph ryan at thealchemistguild.com
Sun Nov 13 04:08:18 CET 2016

> On Nov 12, 2016, at 3:29 PM, Sven Barth <pascaldragon at googlemail.com> wrote:
> Avoid this casting by storing the interface reference. Will make your life much easier and your code more maintainable.

Yes storing the interface works and seems to be the best solution for now. I did learn that generics could clean up the problem further but I need to adapt more code to make that work easily and removing the constant Support calls is good enough to put my mind at ease. :)

	Ryan Joseph

More information about the fpc-pascal mailing list