Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-3495

[Java] Optimize bit operations performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.11.0
    • None
    • Java

    Description

      From atrivedi's benchmark finding:

      2) Materialize values from Validity and Value direct buffers instead of
      calling getInt() function on the IntVector. This is implemented as a new
      Unsafe reader type (
      https://github.com/animeshtrivedi/benchmarking-arrow/blob/master/src/main/java/com/github/animeshtrivedi/benchmark/ArrowReaderUnsafe.java#L31
      )

      3) Optimize bitmap operation to check if a bit is set or not (
      https://github.com/animeshtrivedi/benchmarking-arrow/blob/master/src/main/java/com/github/animeshtrivedi/benchmark/ArrowReaderUnsafe.java#L23
      )

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              icexelloss Li Jin
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 50m
                  2h 50m