2009-09-16 | Paul Boddie | raw annotate files changeset graph | Added iterator reuse for sequential term dictionary access, along with iterator reuse within position dictionary iteration. A special class, ResetPositionDictionaryIterator, permits the deferred initialisation of iterators, thus preventing their premature reuse and the subsequent loss of results waiting to be read. Fixed imports. Tidied PositionIndexIterator initialisation by moving section_count initialisation into the reset method. |
1 #! /usr/bin/env python 2 3 from distutils.core import setup, Extension 4 5 vint = Extension("vint", ["vint.c"]) 6 7 setup( 8 name = "iixr", 9 description = "A simple (and sane) text indexing library", 10 author = "Paul Boddie", 11 author_email = "paul@boddie.org.uk", 12 url = "http://www.boddie.org.uk/python/iixr.html", 13 version = "0.1", 14 py_modules = ["itermerge"], 15 packages = ["iixr"], 16 ext_modules = [vint], 17 )