binary vs. linear search

a binary search vs. a linear search on a 1.000.000 numbers long test
case. The generator is also in here.