Fang Zheng created ORC-443:
------------------------------
Summary: [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
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)