Repository navigation
perf(rx-channel): skip auto-naming in release builds (#2954) - #2955
Conversation
Companion fix to #2943: mirrors the Channel::makeName release-gate on RxChannel::makeName. The auto-naming branch synthesizes `"RxChannel_<id>"` only for diagnostic consumption; in release builds (NDEBUG → FASTLED_LOG_VERBOSITY=0 per #2890) every read site collapses to do-while-0, so the string + `fl::to_string<i64>` + heap concat run for nothing. User-provided names (config.name non-empty) are unchanged in both debug and release. Closes #2954. Refs #2886. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthrough
ChangesRelease-build logging gate for RxChannel auto-naming
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Behavior matrix
Test plan
Closes #2954. Refs #2886.
🤖 Generated with Claude Code
Summary by CodeRabbit