Oh, I notice you modify `entries`. Maybe you should `#dup` it so that you don't modify the state of the caller? I would still use `EMPTY_HASH` as the default though.