Sequenced dictionaries

Morten W. Petersen morten at thingamy.net
Mon Nov 5 08:40:10 EST 2001


Hi,

I'm wondering if there exists any C-based implementations of sequenced
dictionaries, i.e. dictionaries that will remember the order of the
objects 'added' on it.

I have a pure python implementation [1] but suspect that it will be
too slow..  Alternatively, if anyone could have a look at it and give
some optimization tips, that would be greatly appreciated.

[1] http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/warp-framework/warp_framework/zen.py?rev=1.14&content-type=text/plain

-Morten

-- 
About Thingamy:

  http://www.thingamy.com - For the CEO
  http://www.thingamy.org - The good stuff
  http://www.thingamy.net - Rants





More information about the Python-list mailing list