boostorg / boostorg/cobalt

Provide async_read_until that uses symmetric transfer

Open
#127 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
347
Forks
47
Avg merge
3d 8h
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing asio::async_read_until usage or examples and the benchmark session in the repository. Compare the coroutine-based implementation with Asio, focusing on the symmetric-transfer path when the buffer already contains the separator. Done means an example is provided and the improvement is included in the benchmark session.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.