mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 08:55:36 +00:00
391ad05d4512c1242863bbe2bcc6c7eddb3de264
Move read_message() from APIServerConnectionBase into APIConnection and drop the virtual keyword from all 64 on_* handler declarations. Since APIConnection is final and the only subclass, the virtual dispatch was unnecessary. With read_message and the on_* handlers in the same class, the compiler can devirtualize the calls and inline small handlers directly into the switch cases.
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
545 MiB
Languages
C++
60.1%
Python
39.3%
C
0.3%
JavaScript
0.2%
