Replace ChunkMap with a faster implementation.

Based off @yawkat's javascript implementation (https://github.com/yawkat/jslhm/blob/master/new.js) of @Amaranth's LongObjectHashMap