Good general advice on performance tuning. The example they use is binary search. Comments