mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 17:05:36 +00:00
2d13def0ee
Replace 3-call sequence (write_raw_byte + write_raw_byte + encode_raw) with single inlined encode_raw_short_string call for forced string fields with max_data_length < 128. The compiler can hoist the pos pointer across all three writes in one function boundary.