A simple implementation of a HashMap in Python with linear time searching semantics.
One improvement that could increase its performance is at insert time, search and insert the new key-value pair
into a sorted position. Then upon reading, instead of doing a linear search, it may do a binary search to cut times to
log(n)
.
The code is written for Python 3 but should also work on Python 2.x.