Use a static array instead of a hash-map for 3x faster key lookups.
Merge branch 'SpeedUp'