(Another option than just combining into a single vector might be `Vec<u64>` & `Vec<(K,V)>` or `Vec<(u64, K)>` & `Vec<V>`. e.g. if the key & values are accessed together a lot the first might make sense, or the second one if the hash and key are accessed together a lot.)