~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to setup.py

Rename StaticTupleInterner => SimpleSet.

This is a bit more appropriate, because the internal data type is not
specialized into StaticTuple objects only. Partially because I didn't
see a specific memory/speed tradeoff to caching the hash, and
that accessing said hash was siginficantly faster than just
calling PyObject_Hash().

Show diffs side-by-side

added added

removed removed

Lines of Context:
294
294
add_pyrex_extension('bzrlib._chk_map_pyx', libraries=[z_lib])
295
295
ext_modules.append(Extension('bzrlib._patiencediff_c',
296
296
                             ['bzrlib/_patiencediff_c.c']))
297
 
add_pyrex_extension('bzrlib._static_tuple_interned_pyx')
 
297
add_pyrex_extension('bzrlib._simple_set_pyx')
298
298
ext_modules.append(Extension('bzrlib._static_tuple_c',
299
299
                             ['bzrlib/_static_tuple_c.c']))
300
300
add_pyrex_extension('bzrlib._btree_serializer_pyx')