Fang Zheng created ORC-464:
------------------------------

             Summary: [C++] Avoid computing zigzag values for DELTA and 
SHORT_REPEAT encoding
                 Key: ORC-464
                 URL: https://issues.apache.org/jira/browse/ORC-464
             Project: ORC
          Issue Type: Improvement
          Components: C++
            Reporter: Fang Zheng


In current implementation, RleEncoderV2::determineEncoding() always computes 
zigzag values before determining the encoding type. However, zigzag values are 
only needed for DIRECT and PATCHED_BASE encoding, but not for DELTA and 
SHORT_REPEAT. For efficiency
, we shall only perform zigzag computation when it's determined to be necessary.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to