I am just wondering, if you set up an array for example...
Also, would it be faster then to use an array of Bytes rather than an array of Ints, so that the multiplication (or left shift) to jump to the appropriate location can be eliminated?
Local myarray:Int[50]and then you want to access it with...
For Local i:int=0 to 49 Print myarray[i] Nextdoes BlitzMax compile this down to being `hardcoded` to access that array in 4-byte increments? Or does it have to check the type of the array on every access and multiple that size by the offset (plus the base) to get to the data? Or is it more hardcoded - ie it multiplies i by 4 and adds it to the base address then reads?
Also, would it be faster then to use an array of Bytes rather than an array of Ints, so that the multiplication (or left shift) to jump to the appropriate location can be eliminated?