You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
perf(channels): slim the channels framework baseline (~9-11 KB flash on ESP32) #4800
The channels framework that replaced the old per-driver controllers is the largest single block of the ESP32 regression: about 9–11.5 KB flash and about 470 B RAM per sketch, and about 5.9 KB on teensy41.
Step 1 landed in #4812: IChannelDriver::canMatch is now non-virtual, about −950 B flash on all four esp32dev/esp32s3 dashboard sketches. Candidates checked and rejected (RMT teardown behind a virtual destructor, capability virtuals under 100 B, runtime-gated recovery paths) are listed in that PR. The rest is structural (single-driver fast path, ID-based driver names, see #4799) and stays open.
Closing this pass's slimming work: #4812 (canMatch non-virtual, about −950 B per ESP32 sketch), on top of the #4801 channel-related cuts (#4803, #4807, #4808, #4810, #4820). A measured sweep found no remaining low-risk trims; what's left is functional code that needs a framework redesign, tracked post-release in #4822.
Activity
perf(channels): make IChannelDriver::canMatch non-virtual (~950 B) (#…
zackees commentedon Oct 9, 2026
Step 1 landed in #4812:
IChannelDriver::canMatchis now non-virtual, about −950 B flash on all four esp32dev/esp32s3 dashboard sketches. Candidates checked and rejected (RMT teardown behind a virtual destructor, capability virtuals under 100 B, runtime-gated recovery paths) are listed in that PR. The rest is structural (single-driver fast path, ID-based driver names, see #4799) and stays open.zackees commentedon Oct 9, 2026
Closing this pass's slimming work: #4812 (
canMatchnon-virtual, about −950 B per ESP32 sketch), on top of the #4801 channel-related cuts (#4803, #4807, #4808, #4810, #4820). A measured sweep found no remaining low-risk trims; what's left is functional code that needs a framework redesign, tracked post-release in #4822.