mirror of
https://github.com/esphome/esphome.git
synced 2026-09-12 07:47:33 +00:00
2ab54174e91f5beadd896645771763e6eaa46041
Remove the virtual keyword from set_update_interval and inline the trivial setter in the header. No component in the tree actually overrides this on PollingComponent — the only apparent override was in sds011 which extends Component (not PollingComponent), so it was just a name-hiding no-op that is also removed here. This allows the compiler to inline the setter at all 8 call sites generated by register_component, eliminating function call overhead and removing a vtable entry.
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
592 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
