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

split direct packed ints from in-ram ones

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Currently there is an oversharing problem in packedints that imposes too many requirements on improving it:

      • every packed ints must be able to be loaded directly, or in ram, or iterated with.
      • things like filepointers are expected to be adjusted (this is especially stupid) in all cases
      • lots of unnecessary abstractions
      • versioning etc is complex

      None of this flexibility is needed or buys us anything, and it prevents performance improvements (e.g. i just want to add 3 bytes at the end of on-disk streams to reduce the number of bytebuffer calls and thats seriously impossible with the current situation).

        Attachments

        1. LUCENE-5731.patch
          204 kB
          Robert Muir
        2. LUCENE-5731.patch
          204 kB
          Robert Muir

          Activity

            People

            • Assignee:
              rcmuir Robert Muir
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: