You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2021/05/11 15:14:00 UTC
[jira] [Created] (ARROW-12736) [C++] Eliminate unnecessary copy in
FieldPath::Get()
David Li created ARROW-12736:
--------------------------------
Summary: [C++] Eliminate unnecessary copy in FieldPath::Get()
Key: ARROW-12736
URL: https://issues.apache.org/jira/browse/ARROW-12736
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Reporter: David Li
Assignee: David Li
Fix For: 5.0.0
FieldPath::Get() uses RecordBatch::column_data which returns a vector<shared_ptr<>> by _value_ instead of by _reference_ - so with wide schemas, we end up copying and then destroying a lot of shared_ptrs. When done in a tight loop - as with dataset projection - this is a major performance pessimization.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)