Allocation and slow down when # of types involved increase (slower than C++ virtual methods)

Purely anecdotal information here, but one time I wrote a recursive function, and it was slow. I rewrote the function using a while loop, and it was fast. :slight_smile:

So, perhaps your real issue here is using recursion.

1 Like