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

Add zig-zag encoding support to DataInput/DataOutput

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.10, 6.0
    • None
    • None
    • New

    Description

      It would be convenient to have support for zig-zag-encoded integers in DataInput/DataOutput. There are not many places that use that feature today but I think it's quite common to need to read/write small signed values.

      Attachments

        1. LUCENE-5739.patch
          11 kB
          Adrien Grand
        2. LUCENE-5739.patch
          6 kB
          Adrien Grand

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: