hackermondev/batched
View on GitHub ↗ ★ 35 Rust
rust macro util for batching expensive operations
3 mentions on Hacker News by 1 person: 1 story, 2 comments · first 2025-08-14 · latest 2025-08-20
20082026
-
That's what the `window` option does ( https://github.com/hackermondev/batched?tab=readme-ov-file#b... ). After the first item is added to the buffer, it waits for the maximum window time, then calls the inner function with the buffer fill.
comment by hackermondev · 2025-08-20 · in Show HN: Rust macro utility for batching expensive async operations -
…at build time, but you can set a dynamic window length based on the current buffer length. https://github.com/hackermondev/batched?tab=readme-ov-file#b...
comment by hackermondev · 2025-08-20 · in Show HN: Rust macro utility for batching expensive async operations -
▲ 28
Show HN: Rust macro utility for batching expensive async operationsstory by hackermondev · 2025-08-14 · 10 comments