MultiDimensional Arrays in Types
Blitz3D Forums/Blitz3D Beginners Area/MultiDimensional Arrays in Types
| ||
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. |
| ||
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. |
| ||
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. |