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)