mirror of
https://github.com/esphome/esphome.git
synced 2026-09-14 08:38:39 +00:00
bd66f26144d062a495bfb3b91eed2f4e0c063686
Remove the per-byte `i < length - 1` check in the separator path by writing the separator unconditionally after each byte and overwriting the last one with the null terminator. Single-loop approach keeps code smaller than the original while eliminating the hot-path branch. Flash: -16 bytes vs baseline.
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
594 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
