mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 08:55:36 +00:00
51cff74f0390cdb2fc9b97decd2a9c41f3aa4ee6
The capacity check in reserve()/resize() is the hot path and stays inline via ESPHOME_ALWAYS_INLINE. The actual reallocation (make_buffer + memcpy) is a cold path outlined into grow_() to avoid bloating every call site. resize() delegates to reserve() for the capacity check since both inline to the same code.
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%
