|
|
> Is it better to apply mod() in every step, or use an #if in every
> step in order to know if mod() should be applied? What is less
> costly parsing-wise?
It probably depends on the complexity of the if() condition, the complexity
of the mod()-related function, and and probability of the if() condition
being true.
if the if() condition is less complex than the mod()-related function, and
the probability of the if() condition being true is low, then use the if().
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|