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.
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.
No comments yet.