def __init__(self, items):
        
        if not isinstance(items, (list, tuple)):
            items = tuple(items)
        
        self._items = items
        self.reset()
:param items: a sequence of (id, encodedvalue) pairs. If this is
dataset/ETHPy150Open dokipen/whoosh/src/whoosh/postings.py/CachedPostingReader.__init__