[fpc-pascal] Interface performance

Ryan Joseph ryan at thealchemistguild.com
Thu Nov 10 12:45:49 CET 2016


Some times when I want to communicate with a class I don’t have full scope access to I’ll use interfaces and the Supports function to call a method. I’ve noticed however that the string compare function that it is used to find the interface in the class is very slow and makes them not useable for high performance situations. Is there a better way to do this or should I not use interfaces like this in FPC?

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list