Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-517

[C++] Use arrow::MemoryPool for all heap allocations

    XMLWordPrintableJSON

Details

    Description

      We are using std::vector in many places for memory allocation; if we want to use SSE on this memory we may run into some problems.

      Couple things we should do

      • Add an STL allocator for std::vector that ensure 16-byte aligned memory
      • Check user-provided memory for alignment before utilizing an SSE-accelerated routine (e.g. SSE hash functions for dictionary encoding) and decide whether to copy and use SSE or no-copy and use no-SSE code.

      Attachments

        Issue Links

          Activity

            People

              czxrrr Zherui Cao
              wesm Wes McKinney
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 20m
                  2h 20m