diff options
| author | PancakeTAS <pancake@mgnet.work> | 2026-06-13 18:09:35 +0200 |
|---|---|---|
| committer | PancakeTAS <pancake@mgnet.work> | 2026-06-14 16:27:26 +0200 |
| commit | 006f22231f8334bbb1da33d010373fa157e43f60 (patch) | |
| tree | 9e78b3a5c2a3d031b2064ec111150c66ec9c2706 /src | |
| parent | fix(mpu): Convert sequence number on wire into le64 (diff) | |
perf(mpu): Ponder batch heap extraction
It is not possible with a binary min-heap.
Diffstat (limited to 'src')
| -rw-r--r-- | src/mpu.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; |
