zephyr/lib
Sayooj K Karun 964a832702 lib: min_heap: Refactor heapify_up/down functions
Remove using `swap()` which was using VLA and replace it
with `byteswp()`.
Reduce the scope of local variables in `heapify_up/down` to
the smallest necessary block.
Replace `while(true)` loop in `heapify_down()` with a bounded `for`
loop.

Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2025-06-26 11:58:05 -04:00
..
acpi
cpp
crc
hash
heap
libc
mem_blocks
min_heap lib: min_heap: Refactor heapify_up/down functions 2025-06-26 11:58:05 -04:00
net_buf
open-amp
os
posix
runtime
smf
utils
uuid
CMakeLists.txt
Kconfig