python bijection

Joshua Bronson jabronson at gmail.com
Thu Nov 19 18:24:46 EST 2009


I couldn't find a library providing a bijective map data structure
(allowing for constant-time lookups by value) in the few minutes I
looked, so I took a few more minutes to code one up:
http://bitbucket.org/jab/toys/src/tip/bijection.py

Is this at all worth releasing? Comments and suggestions welcome.

Josh



More information about the Python-list mailing list