code: def varint(i):
      """Encodes the given integer into a string of the minimum number  of bytes."""
      if i < len(_varint_cache):
          return _varint_cache[i]
      return _varint(i)
  
file_path: whoosh/src/whoosh/util/varints.py
imports: from array import array
  from whoosh.compat import array_tobytes, xrange
label_desc: Use image node_id 2 for calling a global function with example usage: varint(i) and returns: _varint, _varint_cache