mirror of
https://github.com/esphome/esphome.git
synced 2026-09-15 17:18:40 +00:00
453cbbe81c07c610e292222d75334d66f9246153
Replace three separate equality comparisons with a single bitmask shift-and-test. This compiles to fully branchless code and halves the function size on Xtensa (38 → 19 bytes, 14 → 7 instructions).
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
597 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
