Re: Porting Boost.Redis to Corosio and Capy

Vinnie Falco via Boost <[email protected]>
Newsgroups gmane.comp.lib.boost.devel
Message-ID <CA+EzHGfzzQOWST6zf6KWYUFCH0fHkDfRvSUGQY3HQQFHttJ0Tg@mail.gmail.com>
On Tue, Feb 17, 2026 at 9:58 AM Ruben Perez via Boost <[email protected]>
wrote:

> I miss here an equivalent to Beast's flat_buffer [20] [23].


This was an oversight on my part. It will come back.


> Buffer sequence type erasure is split between Corosio and Capy. There
> are two classes doing essentially the same job


Not quite. The two type-erasing objects: capy::buffer_param and
corosio::io_buffer_param service different needs. The Capy version
represents a window into the entire sequence. It is possible to iterate
through the buffers (albeit at a cost, since it is type-erased). While the
Corosio version is specifically designed for filling out the
operating-system level scatter/gather array. Trying to use one where the
other is expected incurs an extra cost.

 Thanks
_______________________________________________
Boost mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.boost.org/mailman3/lists/boost.lists.boost.org/
Archived at: https://lists.boost.org/archives/list/[email protected]/message/ZQ4ORDMOK24VEHAXGAG5Z7MADJVEJ3J2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.