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: task scheduler, EngineEvents and coroutine runtime linked unconditionally (~2.5-3.5 KB, ~420 B RAM) #4797
EngineEvents: RAM Singleton<EngineEvents>::storage 160 and Singleton<task::Scheduler>::storage 112.
Coroutine runtime:CoroutineRuntimeEsp32/ICoroutineRuntime vtables, and CountingSemaphoreESP32<1> acquire/release/ctor (about 0.7 KB on S3).
Total: about 2.5–3.5 KB flash and about 420 B RAM per ESP32 sketch. Teensy carries EngineEvents too.
Proposed fix
Make FastLED.show() / delay() reach the scheduler only through a hook that the first fl::task / async / coroutine use installs, so sketches that never create a task don't link it.
Acceptance
Scheduler and coroutine symbols are absent from Blink and APA102 maps on ESP32.
Task, async and coroutine tests and examples are unchanged.
Activity
docs: prescribe fl::task::yield_system() for DMA wait loops (#4797 re…
docs: finish yield_system rule update; correct host yield claim (#4797 …
perf: yield_system() keeps the task Scheduler out of driver wait loops (