Fast Array Loading

BlitzMax Forums/BlitzMax Programming/Fast Array Loading

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.

It is not faster program execution wise.

Typing a few letters does not make a difference to me, even if I handfill a 4x4 matrix.
But if you play lazy ass you will learn that the compiler does not replace that with a more performance friendly construct (ie my handwritten one) and that you will lose a fair amount of performance.

No problem for a single instance array, there I wouldn't use the handwrite approach

But for vectors and the like (speed critical), this approach is plain wrong and defeats the purpose of optimized math routines.