You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Yibo Cai (Jira)" <ji...@apache.org> on 2022/06/17 09:08:00 UTC
[jira] [Created] (ARROW-16850) [C++] Improve csv writer by copying data and delimiter separately
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)