mirror of
https://github.com/esphome/esphome.git
synced 2026-09-22 20:48:43 +00:00
63a0581440c45150d9a0910523a355047094f5c4
On Xtensa (ESP32), even relaxed atomic loads emit memw instructions, but they avoid the more expensive acquire fences. The pop() path required acquire loads + release stores just to discover the queue was empty. By checking empty_relaxed() first, the steady-state connected path (queue always empty) returns in ~7 instructions instead of falling through to get_and_reset_dropped_count() and pop().
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
601 MiB
Languages
C++
55.7%
Python
43.7%
C
0.3%
JavaScript
0.2%
