how do algorithms with double
compete compared to int
values? Is there much difference, or is it neglectable?
In my case, I have a canvas that uses Integers
so far. But now as I'm implementing a scaling, I'm probably going to switch everything to Double
. Would this have a big impact on calculations?
If so, would maybe rounding doubles to only a few fractions optimize performance?
Or am I totally on the path of over-optimization and should just use doubles without any headache?