uuh algorithm - how to make a fast code

Blitz3D Forums/Blitz3D Beginners Area/uuh algorithm - how to make a fast code

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.

What are you trying to accomplish? It's hard to give advice when I don't know what the goal is.

As a rough guess, I would advise putting the most common situations at the top of the IF stack. That way the computer doesn't have to evaluate rare conditions every time you call the function in order to get to the common ones.