def __getslice__(self,x,y):
        """Find range minimum by representing range as the union
        of two overlapping subranges with power-of-two lengths.
        """
        j = _logtable[y-x]
        row = self._minima[j]
        return min(row[x],row[y-2**j])
Find range minimum by representing range as the union
        of two overlapping subranges with power-of-two lengths.
        
recipes/Python/252123_Range_minimleast/recipe-252123.py