summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPancakeTAS <pancake@mgnet.work>2026-06-13 18:09:35 +0200
committerPancakeTAS <pancake@mgnet.work>2026-06-14 16:27:26 +0200
commit006f22231f8334bbb1da33d010373fa157e43f60 (patch)
tree9e78b3a5c2a3d031b2064ec111150c66ec9c2706
parentfix(mpu): Convert sequence number on wire into le64 (diff)
perf(mpu): Ponder batch heap extraction
It is not possible with a binary min-heap.
-rw-r--r--src/mpu.c2
1 files changed, 0 insertions, 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;