A coroutine based implementation of asio::async_read_until should be more efficient than the Asio version since it can use symmetric-transfer to avoid a reschedule operation when the buffer already contain the separator.
It would be nice if you could provide this as an example. It would also be an opportunity to show users what kind of improvement they get in comparison to Asio. I would also include this in the benchmark session.
A coroutine based implementation of
asio::async_read_until
should be more efficient than the Asio version since it can use symmetric-transfer to avoid a reschedule operation when the buffer already contain the separator.It would be nice if you could provide this as an example. It would also be an opportunity to show users what kind of improvement they get in comparison to Asio. I would also include this in the benchmark session.