mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 01:58:39 +00:00
665b0143f98dfce6cbe4cbecf61b1b1b5d74a115
- LockFreeQueue: Add fast-path check to get_and_reset_dropped_count(). On Xtensa, uint16_t atomic exchange compiles to ~25 instructions with a CAS retry loop and memory barriers. A relaxed load (single instruction) short-circuits the common case where dropped_count is zero. - BLEEvent: Remove redundant release() calls in load_*_event() methods. EventPool::release() already calls event->release() before returning events to the free list, so every event from allocate() is already clean. - BLEEvent::release(): Only null heap_data on the delete path. Skip unconditional zeroing of is_inline and heap_data when data was inline (no heap allocation to clean up). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
596 MiB
Languages
C++
55.8%
Python
43.6%
C
0.3%
JavaScript
0.2%
