jmamma / MCL

MCL firmware for the MegaCommand MIDI Controller.
BSD 2-Clause "Simplified" License
48 stars 9 forks source link

itoa is really slow. #168

Closed jmamma closed 3 years ago

jmamma commented 3 years ago

Suggest we migrate to another implementation where possible.

The GridPage implementation is surprisingly MUCH faster.

205   val[0] = (MidiClock.bar_counter % 100) / 10 + '0';
206   val[1] = (MidiClock.bar_counter % 10) + '0';
207   val[2] = '\0';
jmamma commented 3 years ago

itoa deprecated.