Hash compares
Merge pull request #708 from kostya/hash_cmp

Hash compares