You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2019/11/08 17:10:00 UTC

[jira] [Resolved] (PARQUET-517) [C++] Use arrow::MemoryPool for all heap allocations

     [ https://issues.apache.org/jira/browse/PARQUET-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes McKinney resolved PARQUET-517.
----------------------------------

Issue resolved by pull request 5496
[https://github.com/apache/arrow/pull/5496]

> [C++] Use arrow::MemoryPool for all heap allocations
> ----------------------------------------------------
>
>                 Key: PARQUET-517
>                 URL: https://issues.apache.org/jira/browse/PARQUET-517
>             Project: Parquet
>          Issue Type: Improvement
>          Components: parquet-cpp
>            Reporter: Wes McKinney
>            Assignee: Zherui Cao
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: cpp-1.6.0
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)