~mbp/bzr/prepare-2.1

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: John Arbash Meinel
  • Date: 2009-10-07 15:48:32 UTC
  • mto: (4679.6.1 2.1-export-c-api)
  • mto: This revision was merged to the branch mainline in revision 4735.
  • Revision ID: john@arbash-meinel.com-20091007154832-lpipxg46lynh9wmr
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')