Skip to content

Provide a generic_flat_response #263

Open
@mzimbres

Description

@mzimbres

For latency sensitive users such as this one it might be useful to use a flat data structure to store reponses where buffers can be reused and thereby removing the need for dynamic memory allocations.

A generic_flag_response would keep all its data into std::string buffer and refer to it with string_views, for exampl

struct generic_flat_response {
    std::string buffer;
    adapter::result<std::vector<resp3::basic_node<std::string_view>> response;
};

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