Files
esphome/tests/unit_tests
J. Nick Koston fa1554cac0 [scheduler] Eliminate heap allocation in full_cleanup_removed_items_
Replace the temporary std::vector copy with in-place compaction using a
read/write pointer pattern. This avoids a heap allocation+deallocation
cycle during scheduler cleanup, reducing heap fragmentation on
long-running ESP devices.

The new approach compacts valid items forward in the existing vector,
recycles removed items as they are encountered, then resizes the vector
(no reallocation since size only shrinks). Same O(n) complexity, same
behavior, zero allocations.
2026-02-07 09:54:43 +01:00
..
2025-09-19 12:59:48 +00:00
2025-12-18 00:06:52 +00:00
2022-10-05 20:09:27 +13:00
2025-09-19 12:59:48 +00:00
2025-09-19 12:59:48 +00:00