mirror of
https://github.com/esphome/esphome.git
synced 2026-02-28 09:54:19 -07:00
4d5010db5d9031a8efddd4b43f6e0737130cd4a0
std::list uses per-node heap allocation (one allocation per element) and has poor cache locality. std::vector is contiguous and uses a single allocation. Changes: - Replace std::list<Header> with std::vector<Header> in perform() virtual method signature across all platforms (IDF, Arduino, Host) - Update all start(), get(), post() overloads accordingly - Add ESPDEPRECATED overloads for std::list<Header> callers - Update online_image to use std::vector<Header> - Clean up request_headers construction in play() using structured bindings and reserve()
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
517 MiB
Languages
C++
64.1%
Python
35.5%
C
0.3%
