mirror of
https://github.com/esphome/esphome.git
synced 2026-09-02 02:56:01 +00:00
21725983fd65aa850c1fa8a19ce48283a071e592
Instead of ALWAYS_INLINE on encode_field_raw (which bloated all callers), have the code generator precompute the tag byte and emit write_raw_byte(tag) + write_fixed32_raw(value) directly. This gives the same tight codegen (single byte store + memcpy) for key fields without inflating encode_bool/encode_uint32/etc. +108 bytes flash vs baseline, -48 bytes vs the ALWAYS_INLINE approach.
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
585 MiB
Languages
C++
56.1%
Python
43.3%
C
0.3%
JavaScript
0.2%
