5 ms·
I would not be very happy if every time I called math.Min, I was also, under the hood, calling reflect.TypeOf.
by horsemans 5y ago
I would not be very happy if every time I called math.Min, I was also, under the hood, calling reflect.TypeOf.
- danachow 5y agoThe whole point of generics is to avoid this - why do you think you would have to use reflection?