python bijection

Joshua Bronson jabronson at gmail.com
Fri Nov 20 00:24:46 CET 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