What is the best way to store a large multidimensional array with Swift?
I have a 4D array of integers that seems to have slowed down compiling in Xcode 8.2 now that its about 200 sets of 9 integers (1800 total). The first array is made up of 12 arrays, which then each has 8 arrays, which then each has 2 or more arrays, which are each made up of 9 integers. The thing is I plan to probably increase the amount to data by 5 or 6 times.
I couldn't compile my app last night and it finally worked this morning but it was still slow. I figure the problem will just get worse as I add to the array.
Some people say to just append each array in the viewDidLoad and some have mentioned loading the array for a txt file but I don't know how to do that.