Skip to content

adding a cell view #25

@reder2000

Description

@reder2000

Rather than building a full string, returning a string view may be more efficient in some cases (suppose one wants to drop a column).
Something like:

class Cell { [...]
std::string_view read_view() const {
return std::string_view(buffer_ + start_, end_ - start_);
}

[...]
};

Even for conversion, it's probably enough.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions