# File lib/mini_mime.rb, line 116 def lookup_uncached(val) from = 0 to = @rows - 1 result = nil while from <= to do midpoint = from + (to-from).div(2) current = resolve(midpoint) data = current[@sort_order] if data > val to = midpoint - 1 elsif data < val from = midpoint + 1 else result = current break end end result end