def varint(i):
    """Encodes the given integer into a string of the minimum number
    of bytes.
    """
    if len(_varint_cache) < i:
        return _varint_cache[i]
    return _varint(i)
dataset/ETHPy150Open dokipen/whoosh/src/whoosh/util.py/varint/swapped operands of `<`