Name: Anonymous 2011-10-28 14:44
what the fuck can one person do by themselves? I need friends...
1 / 4 * AngryBirds is either as fast or faster than AngryBirds / 4 in most scenarios.1 / 4 and immediately replaces it with .25 before compilation, much in the same way as macro substitution is performed.AngryBirds / 4 and compile it as .25 * AngryBirds instead, in which case it didn't matter what we wrote. If you were working with integer division, on the other hand, it might interest you to visit the following link, which describes algorithm (with a public domain C implementation) for applying a similar trick to arbitrary integers at run-time, not compile time. Now that's OPTIMIZED.