mirror of
https://github.com/esphome/esphome.git
synced 2026-09-18 10:38:38 +00:00
The ESPHOME_ALWAYS_INLINE on these caused significant flash bloat in cold calculate_size() callers (DeviceInfoResponse +117B, HelloResponse +63B, ListEntitiesEventResponse +79B) while only benefiting the BLE hot path marginally. Let the compiler decide when to inline these. The varint() fast path remains force-inlined as that eliminates the most expensive indirect calls on the hot path. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>