mirror of
https://github.com/esphome/esphome.git
synced 2026-07-11 09:25:34 +00:00
5f606a4154d652250e79099cc90b17cbebeced75
Emit a static constexpr in main.cpp that uses std::is_same_v to count components with overridden loop() at C++ compile time. Pre-init the FixedVector with the exact capacity so calculate_looping_components_() can skip its counting pass entirely.
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
529 MiB
Languages
C++
60.1%
Python
39.3%
C
0.3%
JavaScript
0.2%
