4 ms·
Meaning computationally. It would cost a lot of cycles to keep that enabled in production. It’s only O(n), but if I check that assertion in my binary search fu
by hxtk 1y ago
Meaning computationally. It would cost a lot of cycles to keep that enabled in production.
It’s only O(n), but if I check that assertion in my binary search function then it might as well have been linear search.