smol-rs/async-task

Re-using memory for RawTask

Closed this issue · 1 comments

rw commented

I'd like to re-use memory for a RawTask, because I create and destroy tasks in a tight loop. Would it be feasible to let users provide an object to do custom allocations, such as an instance of the Bumpalo allocator? Thank you!

rw commented

Closing because it's probably not an issue for typical users.