inlines eq_hash()
trivial optimize