Optimization with QB Logic
Probability Optimization

If the programmer knows to what extent some aspect of a program (or algorithm) will be used, he can make that part more efficient, while sacrificing less-used aspects. IF Logic comes into play here.

When using multiple nested IFs, consider the probability of each value being true or false, and structure your IF nesting accordingly. These things current optimizers cannot optimize with current technology.


LogicChapterG - page last edited 2003-08-15 13:58:50 by (home) (edit)
Blast WIKI - by RoboticBoy - edited and tweaked for our evil purposes by Hexadecimal Disaster