implemented the "map" object for fast non-string hashing