I have a 3-D array [8][8][1002], which remains static with every run(values don't change).
Each page of array contains binary combination (8x8 matrix).
The array will take a lot of time to load, which I want to avoid.
Any way to reduce the time taken?
Or any other data structure may work effectively faster?
UPDATE:
The initialization of array is done by exhaustive method :
Loop1 for i:
Loop2 for j:
Loop3 for k:
array[i][j][k]=1 //or 0 some logic
By loading, I mean array initialization.