6 ms·
The implementation is a black box but the performance characteristics could very well be part of the API contract. When you require and it's feasible to use rad
by quelltext 10y ago
The implementation is a black box but the performance characteristics could very well be part of the API contract. When you require and it's feasible to use radix sort you probably know not to use the standard sort function.
- smallnamespace 10y agoYes, but reasoning about the API contract is exactly what being taught sorting algorithms helps you navigate, just like learning the guts of backprop helps the ML practitioner understand why things can go wrong.