Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-746

Improve BitsTypeObject storage

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • 14.0.0
    • None
    • Binding codegen

      Separate from MDSAL-743, which defines the headline term, let's improve how we storage the individual bits. With MDSAL-744 we promise to provide a boolean value. Most of the bits we encounter have a very limited number of possible bits, let's say there are three classes:

      • up to 32 bits, which should use an 'int' for storage
      • up to 64 bits, which should use a 'long' for storage
      • more than 64 bits, which should use an int[] for storage]

      Specialize codegen to recognize these three classes and store the set bits in the appropriate storage class, providing the required methods on bit operations. This will drop storage requirements (when compared to MDSAL-743) by additional factor of 8, providing a 32x/64x improvement when compared to current Boolean storage.

            Unassigned Unassigned
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: