use a hashset in contiguous memory with mmap