Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-4536

Make PackedInts byte-aligned?

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.1
    • None
    • None
    • New

    Description

      PackedInts are more and more used to save/restore small arrays, but given that they are long-aligned, up to 63 bits are wasted per array. We should try to make PackedInts storage byte-aligned so that only 7 bits are wasted in the worst case.

      Attachments

        1. LUCENE-4536.patch
          36 kB
          Adrien Grand
        2. LUCENE-4536.patch
          36 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: