Need help on understanding type inference / performance

Thank you all for your help. It seems the reason is understood: Missing type-specialization is the reason.

I still struggle with how to enable this and created a more concrete, hopefully also clearer, follow up question: How to mark a function argument for specialization on types while still staying as a generic argument?

1 Like