Major speed boost for `lookup` and `hash_lookup` via @Arun Srinivasan's gist: https://gist.github.com/arunsrinivasan/ee2d9ef43bdc02c32958  issue #3