this sounds like premature optimization... verify ...
# announcements
d
this sounds like premature optimization... verify you have a performance problem before cluttering your code with "speed improvements"
l
diesieben07: And in an
onDraw(...)
, we all know every performance gained means a lot, so this "premature optimization" thing has no place in animations and things executed often, like 60 times per second for example.
d
Sure it does. If you don't have a performance problem, don't "optimize" your code. Especially on the JVM with such a powerful optimizing compiler...