Skip to content

Support BitSet and RunLength encoding lengths longer than Short.MAX_VALUE #37

Closed

Description

BitSet offset encodings are limited to Short.MAX_VALUE (32,000~ relative offsets) because a Short is used to serialise the Bitset run length. In order to support longer BitSets, need to use a bigger format like Integer (2,147,483,647 relative offsets).

RunLength has a similar problem - an integer is silently cast to a short, assuming a given run length is less than 32,000. Which may not always be the case. A new version of run length could use integer's instead. Could be another encoder that runs in parallel...

Activity

  1. added a commit that references this issue on Nov 27, 2020
  2. astubbs commented on Nov 27, 2020

    @astubbs
    ContributorAuthor

    Not as important if #38 is fixed

  3. changed the title [-]Support BitSet encoding lengths longer than Short.MAX_VALUE[/-] [+]Support BitSet and RunLength encoding lengths longer than Short.MAX_VALUE[/+] on Nov 30, 2020
  4. added a commit that references this issue on Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions