[ 
https://issues.apache.org/jira/browse/ARROW-6236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16910603#comment-16910603
 ] 

Wes McKinney commented on ARROW-6236:
-------------------------------------

Some basic profiling I did suggested the performance gains may not be that 
significant but it would be worth taking a closer look to see

> [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
>            Priority: Major
>             Fix For: 0.15.0
>
>
> 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
(v8.3.2#803003)

Reply via email to