Yibo Cai created ARROW-16850:
--------------------------------
Summary: [C++] Improve csv writer by copying data and delimiter
separately
Key: ARROW-16850
URL: https://issues.apache.org/jira/browse/ARROW-16850
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Reporter: Yibo Cai
Assignee: Yibo Cai
Profiling csv writer with Arm Statistical Profiling Extension (SPE) reveals
there is relatively high branch misprediction rate from {{memcpy}}, due to
interleaving copying data field and delimiter which is very short(1 or 2
chars). Copying delimiter with specific code, {{memcpy}} only the data field
improves performance significantly.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)