I would mention fonts here which look different on my watch and which sometimes mean working hard to find the best x|y values for the text coordinates (that is quite interesting, because the font files of the SDK need quite a lot of disk space)
// init
const two=2;
var anothertwo=2;
// calculation
i=i+i/2; // A
i=i+i>>1; // B
i+=i>>1; // C
i+=i*0.5; // D
i+=two; // E
i+=anothertwo; // FSorry about the weard start of this thread (I am still unable to finish the text of the first post)...
...here's another try for one of the points I want to discuss here: S P E E D
Does anyone know about the execution time of the following lines?// init
const two=2;
var anothertwo=2;
// calculation
i=i+i/2; // A
i=i+i>>1; // B
i+=i>>1; // C
i+=i*0.5; // D
i+=two; // E
i+=anothertwo; // F
How to speed up graphics?
* will a transparent background color influence the drawing speed?
* will a custom font without antialiasing be drawn quicker than an internal?
Waht are your experiences? Which routines are slow and should be avoided? Do you have found some good solutions to speed up your code?