OK. Here goes…
I would like to have a master roList ( of Strings ) that rules all other roLists. roListes. BUT, I really don’t want the secondary roLists, which will be subsets or the Master roList, to copy the values from the Master roList. They should just reference them.
Playing around with this, the only way I’ve been able to do it is if the Master roList is a roList of AA’s.
Is this the only way? Best way? Fastest way?
Case #2 - Similarly, but different: I’d like to have a Master roList of all 3D points used in a scene. Triangle Objects would reference these points. Transformations would be done on the 3D points in the Master roList, not on the Vertices of the Triangle Objects so as to not do redundant work.
Should the Triangle Objects reference the points in the Master roList OR should they use an index to look up the values? The latter of which leans more towards using roArray instead. Which, if I understand correctly, would be faster as long as the array never had to resize.
→ Going further, a Master roArray of roArray’s would be the ultimate efficient storage retrieval system, no?
Point[0][0] ==> Point[0]'s x value…
Point[0][1] ==> Point[0]'s y value… & finally,
Point[0][2] ==> Point[0]'s z value.
peace & 42
