Quoting Diego Nieto Cid (2015-06-05 03:58:10)
> To prevent infinite recursion range checking was introduced
> as an exit condition adding two extra comparisons on each
> recursive call.
>
> By fixing the range used by the recursive call over the lower
> half of the array one can avoid penalizing s
To prevent infinite recursion range checking was introduced
as an exit condition adding two extra comparisons on each
recursive call.
By fixing the range used by the recursive call over the lower
half of the array one can avoid penalizing successful lookups
while still preventing infinite recursio