What are good hashing functions for hashing n-dimensional non-negative integer vectors whose sum less than or equal to order m?
For example m,n=2 will need to hash (0,0),(1,0),(0,1),(2,0),(1,1),(0,2)
What if n>>m?
I saw this answer Hashing 2D, 3D and nD vectors but not sure if this works well for integers instead of float.