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

[jira] [Created] (ARROW-6236) [R] Deduplicate strings using Arrow hash tables instead of passing all values through R's global hash table

Wes McKinney created ARROW-6236:
-----------------------------------

             Summary: [R] Deduplicate strings using Arrow hash tables instead of passing all values through R's global hash table
                 Key: ARROW-6236
                 URL: https://issues.apache.org/jira/browse/ARROW-6236
             Project: Apache Arrow
          Issue Type: Improvement
          Components: R
            Reporter: Wes McKinney


I suspect that deserialization performance from Arrow to R vector can be improved by deduplicating strings locally prior to setting into R character vectors. You can see our corresponding deduplication logic in Python (which is a slightly different situation because Python does not have a GSHT, but we can have many references to the same object in an output NumPy array)

https://github.com/apache/arrow/blob/master/cpp/src/arrow/python/arrow_to_pandas.cc#L409



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)