daaaaaammmnn! thats insane!
lol, it takes 56ticks for number array and 519 ticks for string on my g5
HOLY SHlT, ive used a FOR loop before for replaceing specific fields, but not as a method, just raw code, and even though its virtually the SAME, for some reason redds code as a method runs insanly faster, i couldnt even get a reading on it, it just kept going, i had to force quit, thats so fucking wierd, now i have to go back and modify my for loops as methods
to be fair though, i dont see a circumstance where you would constantly replace specific fields like this, i think it would only be for specific circumstances like purchasing something that increases a stat .
holy shit, useing number arrays is faster than useing number variables! so let x(1)=5 is faster than let x=5
same with strings, its about 20% faster for me! so you can make your game faster by makeing all strings and variables as arrays even if your storing just one value