|
I believe the original statement that started all this was that iterative search was faster than binary search. For doubles, I agree. But for other data types the iterative search algorithm you have shown so far fails to work at all, let alone faster. DaWel said he has one that works, and I'd like to see it. But so far, binary search raigns supreme.
|