https://kotlinlang.org logo
#announcements
Title
# announcements
d

diesieben07

05/18/2017, 2:01 PM
this sounds like premature optimization... verify you have a performance problem before cluttering your code with "speed improvements"
l

louiscad

05/18/2017, 2:13 PM
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

diesieben07

05/18/2017, 2:15 PM
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...
2 Views