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

[Rust] Eliminate indirection of ZST allocations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.17.0
    • 1.0.0
    • Rust

    Description

      Currently, no matter what any array construction without data creates 0 sized layouts and passes itself to Rust's allocator API, thus OS then comes back to the program and does the job.

      This issue is two-fold:

      • First, this creates indirection and UB in a sense.
      • Second, degrades the performance for the merging simd, merging arrays, constructing arrays etc. and intermediate arrays when doing ops. over them.

      The solution would be:

      • Having UB solved without a performance downside.
      • Improve the performance

      Attachments

        Issue Links

          Activity

            People

              vertexclique Mahmut Bulut
              vertexclique Mahmut Bulut
              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 - 2h
                  2h