The gold standard of optimization: A look under the hood of RollerCoaster Tycoon
The gold standard of optimization: A look under the hood of RollerCoaster Tycoon
> The same trick can also be used for the other direction to save a division:
> NewValue = OldValue >> 3;
You need to be careful, because this doesn't work if the value is negative.
A