As i'm going through my game I realise that i'm a bit heavy on array data. I have around 10 different arrays at the moment and that is going to increase to 35-40 by the time i'm finished (and then some for updates). Some arrays are small and hold temporary data, a couple are quite large for NPCs and loot per different layout.
At the moment the vast majority of these are on 1 layout/event sheet which is my UI layer (basically a hidden layout no one can get to as the previous layout has "load layout, then go to next layout upon load complete").
My question is are all the arrays loaded when I get to this layout (thus having a load effect when getting to the UI layout)? If they are, would it be beneficial to move these arrays to the specific layout that they're to be loaded for? Or are they loaded so quickly that there's no performance hit?
Apologies if it's not clear, I just don't want to carry on the way I am if by the end of it there's a long delay whilst data is loaded.