Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multidimensional arrays..
#4
(03-13-2010, 10:40 PM)MadHatter Wrote: Hmm instead of declaring 7 different arrays in one script I made, I could have just made 4. Interesting....

Although its a common way, more dimensions to an array actually is slower than using one.
For example,
Code:
MySquareArray[x][y]
is slower than,
Code:
MySquareArray[x*y]
My SMF Modifications:
http://anthony.vibrantvps.com/smf
Reply


Messages In This Thread
Multidimensional arrays.. - by F3nix - 02-17-2010, 05:14 AM
RE: Multidimensional arrays.. - by Ⱳąŗɗ - 03-13-2010, 10:40 PM
RE: Multidimensional arrays.. - by Project Evolution - 03-14-2010, 09:05 AM
RE: Multidimensional arrays.. - by Ⱳąŗɗ - 03-16-2010, 01:12 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)