CCArray.lookup for divide-and-conquer search