On Sat, Jul 13, 2019 at 3:47 PM Michael Van Canneyt <mich...@freepascal.org> wrote:
> No doubt, but this will lead to a bloated binary. I want less code (both > source and assembler), not more. > Well, it would be one instantiation per unique type it was used on. So if you had five hand-written helper functions for different types, and replaced all of them with the use of a single generic function, you'd still end up with just five functions worth of assembler code (i.e. the same amount you had to begin with.)
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel