10X performance improvement by hashing