mirror of
https://github.com/esphome/esphome.git
synced 2026-09-18 02:28:42 +00:00
The fast path (millis + subtract + compare) is tiny and called once per component per loop iteration. Moving it inline eliminates a call8/retw pair per component, reducing main loop overhead. The cold warning path (warn_if_blocking) and runtime stats recording remain out-of-line in component.cpp. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>