I want to be able to access arrays by a 3d vector. I want to use a HashMap to store the 3d vector as Key and the array as value.
What is the most efficient way to use a 3d vector as Hash Key? Just use the array with the three coordinates? Combine the three values into one i64?
The coordinates will be three i16 integers, no floats. Any suggestions?