MultiDimensional Arrays in Types

Blitz3D Forums/Blitz3D Beginners Area/MultiDimensional Arrays in Types

Gabriel(Posted 2005) [#1]
Funny how you miss things when you come back to B3d from BlitzMax. What's the fastest way of having a two-dimensional array in a type instance?

At the moment, I'm using a bank, but I'm not sure if there are faster ways.


Beaker(Posted 2005) [#2]
You can use a single dimensional Blitz array [] with some slight offset maths (probably as you are doing with your bank).

It won't get any faster than banks or arrays.


Gabriel(Posted 2005) [#3]
Thanks. I thought it was probably as fast as I was going to get. Just wanted to make sure though, since this is speed-critical.