On Jan 29, 12:23 am, ocsch...@gmail.com wrote: > I just find it odd that there's no quick answer on the > fastest way in Python to implement a mapping in this context.
A Python dict is as fast as you can get. If that is not enough, your only choice is to try something at the C level, which may give the desired speedup or not. Good luck! Michele Simionato -- http://mail.python.org/mailman/listinfo/python-list