[fpc-pascal] Generics vs templates
Ryan Joseph
ryan at thealchemistguild.com
Tue Jan 9 08:13:13 CET 2018
> On Jan 9, 2018, at 2:04 PM, Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>
> But you need to program in a way that allows the usage of multiple, different types. That can more often than not lead to worse performance.
>
Examples? I had to add some if statements in a couple areas I didn’t want to and a virtual method but beyond that I don’t see what would affect performance.
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list