I am currently storing a hypermatrix of not very many objects over a 4d hyperspace.
I am working with a 100x100x100x100 hypermatrix that is VERY sparsely populated. Only about 500 cells actually contain anything. The problem is that this matrix takes up huge amounts of memory even when it's mostly empty. Is there a python class type available to me that is able to store this type of hypermatrix efficiently?
I need to be able to access objects given w,x,y,z coordinates but I fully expect the vast majority of them to be overwhelmingly EMPTY.