Skip to content

Replace string-concatenation logging with printf-style F-variants#29

Merged
attermann merged 1 commit intomasterfrom
log_opt
Mar 1, 2026
Merged

Replace string-concatenation logging with printf-style F-variants#29
attermann merged 1 commit intomasterfrom
log_opt

Conversation

@attermann
Copy link
Owner

Converted log calls across src/, examples/, and test/ to use DEBUGF/TRACEF/ERRORF/etc. macros instead of std::string + operator+. This eliminates temporary heap allocations on every log call, which matters on memory-constrained MCUs.

Converted log calls across src/, examples/, and test/ to use DEBUGF/TRACEF/ERRORF/etc. macros instead of std::string + operator+. This eliminates temporary heap allocations on every log call, which matters on memory-constrained MCUs.
@attermann attermann merged commit d670dd0 into master Mar 1, 2026
4 checks passed
@attermann attermann deleted the log_opt branch March 1, 2026 19:33
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.

1 participant