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

[Rust]: Benchmark and improve count_set_bits function

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.1
    • 3.0.0
    • Rust

    Description

      `count_set_bits` and `count_set_bits_offset` currently use a lookup table for each byte. I'm thinking it should be more efficient to iterate the data in larger chunks and use the builtin `count_ones` function.

      Attachments

        Issue Links

          Activity

            People

              jhorstmann Jörn Horstmann
              jhorstmann Jörn Horstmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m