Play around a bit with changing the hash function.
In this form, once hash has been called once, we know we are dealing
with only strings, all of which have already computed their hash.
As such, we can get rid of most of the internal checks and just
iterate over the values. This gets us down to 13.8ms (from 15
at worst case, but 9.7 if we cache self->hash).
We may not keep this, but it was an interesting experiment.