If statements vs zero multiplication and assignment (version: 0)
Is it faster to check if a numeric calculation needs to be performed and assigned to an object property, or just do the calculation against zero and assign it anyway.
Comparing performance of:If Statement - True vs If Statement - False vs Calculate - Positive vs Calculate - Zero