Open edgar-bonet opened 4 years ago
Thanks for looking at the library! I'll take a look at this when able. See also my comment here: https://github.com/ElectricRCAircraftGuy/eRCaGuy_TimerCounter/pull/8#issuecomment-665187087. I'd like to do a major re-look at this library before merging PRs, as I've grown a lot since I first wrote it.
This member was only used in the
get_count()
method, right after being set. Making it a local variable ofget_count()
makes the class 40% smaller and the method slightly faster. It also speeds-up the constructor and thereset()
method.