Skip to content

Feature request: equivalent of Beast's flat_buffer #168

@anarthal

Description

@anarthal

Protocols handling small messages can't use buffers like Asio's and Capy's dynamic_string_buffer, since these memmove on every consume. I'd like to see a buffer type in Capy like Beast's flat_buffer.

I personally don't need allocator customization, but I understand this could be useful to someone. Maybe using a PMR resource for allocation, rather than templates, could be beneficial?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions