We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello, Ive been working on a sketch for a while now, tragically without a clear plan from the start.
Naturally everything is becoming messy now and out of hand.
I have 4 classes/objects, interface, grids, matchBox, control.
interface contains an arrayList of grids objects, matchBox contains a fixed size array of control objects, each control object in the array needs info on some, but not all of the parameters of the grids arrayList objects..
My question is, is it more efficient to make IntLists (they can vary in size) of the specific grids properties, and pass them on to the control objects via matchBox, or is it better(more cpu efficient) to send the whole grids arrayList to matchBox then to each control?