From 006f22231f8334bbb1da33d010373fa157e43f60 Mon Sep 17 00:00:00 2001 From: PancakeTAS Date: Sat, 13 Jun 2026 18:09:35 +0200 Subject: perf(mpu): Ponder batch heap extraction It is not possible with a binary min-heap. --- src/mpu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mpu.c b/src/mpu.c index ec976a2..9659c50 100644 --- a/src/mpu.c +++ b/src/mpu.c @@ -96,8 +96,6 @@ int mpu_send(mpu_ctx_t* ctx, const uint8_t* data, size_t len) { // TODO: Zero-copy recv() into reorder buffer slot, requiring the user to provide a callback // for processing received packets, instead of copying into a user buffer. -// TODO: Attempt to optimize heap_extract() to purge multiple expired packets at once. - ssize_t mpu_recv(mpu_ctx_t* ctx, uint8_t* data, size_t len) { if (!ctx || !data || !len) { errno = EINVAL; -- cgit v1.3.1