Skip to content

Abstract AttrRow as til::rle<T> #8741

@DHowett

Description

@DHowett

The new buffer implementation will use RLE packed column counts.

Feature Requests

  • til::rle<T, S> where S is the size type
    • OPTIONAL: When inserting an item that doesn't fit in the size type, break it up into multiple runs. For example, a til::rle<..., uint8_t> could support a length-257 run by emitting two runs of length 255 and 2
  • substr(), which returns a subset rle. Based on this implementation.
  • iterator: i need begin, end, cbegin, cend.
  • iterator: i want to be able to + any number, not just ++ by one.
  • iterator: i need to be able to subtract two iterators to get a distance.
  • maybe a way to iterate over compressed units, for quick estimation and summing (!)

Metadata

Metadata

Assignees

Labels

Area-CodeHealthIssues related to code cleanliness, linting, rules, warnings, errors, static analysis, etc.Area-OutputRelated to output processing (inserting text into buffer, retrieving buffer text, etc.)Issue-TaskIt's a feature request, but it doesn't really need a major design.Product-ConhostFor issues in the Console codebaseResolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions