Based on D1178, D1179, and D1180.
Note this is put here mostly for sake of consistency, and keep trace of this work. Storing hashes only benefits to keys needing complex, expansive hashing/comparison (i.e. mostly strings), but in Blender currently our string-hashed parts of the code do not really suffer from ghash performance issues, so it adds complexity with no real benefit.