PreviousNext
Effective is not always efficient
Help > Appendix > Code Optimization > Effective is not always efficient

FLASH-                        RAM                Speed+

 

Observe the output .lst file when it makes sense.

 

counter += value > maxValue;

if ( value > maxValue )

  counter++;