Hi guys, I'm making a 2D int array (int array[400][400]) inside a class and i'm trying to map each [x][y] to a separate key, which i use to insert some object into a map. My question is, what is the most efficient way of doing this? i've written so far a 3 for loop inserting a unique key per [x][y] and using it later on -- and this seems to be very slow.
i'm setting up a pixel by pixel window mapping with an r g b value -- whats the fastest way?