mikaelpatel / Arduino-Shell

RPN Postscript/Forth Command Shell for Arduino
19 stars 5 forks source link

Performance: Reduce memory virtual member function read() overhead #45

Closed mikaelpatel closed 8 years ago

mikaelpatel commented 8 years ago

The Memory virtual member function read() is the most common call from the interpreter. There is a high overhead with a virtual member function call. Any improvement in this function will scale in interpreter overall performance.

mikaelpatel commented 8 years ago

Please see commit https://github.com/mikaelpatel/Arduino-Shell/commit/e1efda8e77372a7f1653a4ceabeee40cb0c2b7d5.