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

Closed
opened 2026-01-31 03:04:05 +00:00 by claunia · 1 comment
Owner

Originally created by @DHowett on GitHub (Jan 11, 2021).

Originally assigned to: @miniksa on GitHub.

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 (!)
Originally created by @DHowett on GitHub (Jan 11, 2021). Originally assigned to: @miniksa on GitHub. The new buffer implementation will use RLE packed column counts. ## Feature Requests * [x] `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](https://github.com/microsoft/terminal/pull/8689/files#diff-14ac35e89899118030db9cba51bc52545edfa4392a8628f4f752e3ec47be1d7dR587-R601). * [x] iterator: i need `begin`, `end`, `cbegin`, `cend`. * [x] iterator: i want to be able to `+` any number, not just `++` by one. * [x] 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 (!)
Author
Owner

@ghost commented on GitHub (May 25, 2021):

:tada:This issue was addressed in #10099, which has now been successfully released as Windows Terminal Preview v1.9.1445.0.🎉

Handy links:

@ghost commented on GitHub (May 25, 2021): :tada:This issue was addressed in #10099, which has now been successfully released as `Windows Terminal Preview v1.9.1445.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.9.1445.0) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12017