Improve map performance by using hash tables
Don't re-evaluation unnecessarily