You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/06/17 09:10:00 UTC

[jira] [Updated] (ARROW-16850) [C++] Improve csv writer by copying data and delimiter separately

     [ https://issues.apache.org/jira/browse/ARROW-16850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-16850:
-----------------------------------
    Labels: pull-request-available  (was: )

> [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
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)