You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Fang Zheng (JIRA)" <ji...@apache.org> on 2018/12/04 07:35:00 UTC
[jira] [Closed] (ORC-443) [C++] Code improvements in ColumnWriter
[ https://issues.apache.org/jira/browse/ORC-443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fang Zheng closed ORC-443.
--------------------------
Resolution: Fixed
> [C++] Code improvements in ColumnWriter
> ---------------------------------------
>
> Key: ORC-443
> URL: https://issues.apache.org/jira/browse/ORC-443
> Project: ORC
> Issue Type: Improvement
> Components: C++
> Reporter: Fang Zheng
> Assignee: Fang Zheng
> Priority: Minor
>
> A few changes to ColumnWriter and its derived classes:
> 1. in add() function, re-order code to verify input parameters before modifying any internal state.
> 2. in add() function, move the calls to colIndexStatistics->increase(1) out of the loop. Many of those are virtual function calls.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)