Is it faster to have a sinlge multi-dimentional array, or several single dimention arrays?
In other words, is this...
Code:
new data[33][3]
data[1][2] = data[1][0] + data[1][1]
faster than...
Code:
new data0[33]
new data1[33]
new data2[33]
data2[1] = data0[1] + data1[1]
I have a plugin that needs to access several values stored in an array. Since this is in the player_think routine, I'd like to make it as fast as possible to prevent the possibility of lag.
__________________