Repository navigation
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 |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
All reactions