[REQUEST] Jump table for Select statements

BlitzMax Forums/BlitzMax Programming/[REQUEST] Jump table for Select statements

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 actually faster to NOT pass the data, but to instead make the data Global and read it directly from within the routine that references it. Passing parameters is a slowdown, caused by putting a contextual barrier between the two parts of your code. You sometimes really dont need that barrier as it means a) you have to transfer the data to the function and b) the function has to read in the parameters, rather than just directly reading the parameters.