@Thaddy, thanks.
I think that despite its grim appearance, Card() should be on average about ten times faster than some function that uses byte-wise calculation.
...
All this bloat being presented does not show a lot of confidence of clean coding. You should know that for each
incursion of a Generic on a different Set is going to generate a complete set of code again, which is why I suggested a simple G interface calling a single generated code block for all.
...
@Jamie, thank you for your concern.
Nevertheless, the situation with the Card() function is even more dramatic than you described. It should be
inlined in every place where it is used.
But no one forces you to use it, is it? After all, what you don't use can't hurt you in any way.