csv2 icon indicating copy to clipboard operation
csv2 copied to clipboard

adding a cell view

Open reder2000 opened this issue 2 years ago • 0 comments

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.

reder2000 avatar Apr 21 '22 17:04 reder2000