1 dimensional array to act like a 2d one?

BlitzMax Forums/BlitzMax Programming/1 dimensional array to act like a 2d one?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

If you know that you stay on a specific format of the above ones you can even opt it further by using memcopy instead of that many shifts and assignements.

further opts would be by not using such commands at all but doing p :+ sizeofColor to go through

=> to get the maximum out of BM use the default commands and their implementation as an idea on how to optimize it seriously for your specific need.