Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce mem footprint #35

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

Palatis
Copy link
Contributor

@Palatis Palatis commented Mar 7, 2018

declare callback list only when MAXCALLBACKS != 0
reduce memory and binary footprint.

the code actually run faster with a giant switch-case as the default handler...

Palatis added 3 commits March 7, 2018 23:25
avoid name collision
so we can override them with compiler flags, or #define them before #include <CmdMessenger.h>.
increase performance, reduce memory and binary footprint.
@Palatis
Copy link
Contributor Author

Palatis commented Mar 7, 2018

a reduced attempt of #17

this one should be more user-friendly.

@gyssels
Copy link

gyssels commented Sep 30, 2021

@Palatis I will accept PR on gyssels/Arduino-CmdMessenger, and I messaging the other PR submitters so it can become an active branch
I engage myself to do a full PR back here if in the future I'll not maintain this anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants