slight speedup for hash index