Replies: 1 comment 3 replies
-
This is said in comparison to run-length encoding which stores the lengths of each run instead of the index of the run-end (i.e. the cumulative sum of the run lengths).
Yes, what is this guarantee mentioned so we can point to the exception? Even though |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
According to the doc, run end encoding implements random access with binary search on the position array:
However wouldn’t this be O(log N) in the worst case and violate the constant-time random access guarantee?
Beta Was this translation helpful? Give feedback.
All reactions