Use all integers if possible. Integer operations are about three times as fast as floating point.
Avoid mixing data types in expressions. This causes promotions to be inserted between the useful mathematical operations. Defining everything as floating point types may lead to a faster program than mixing integers and floating point.