You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@orc.apache.org by "Panagiotis Garefalakis (Jira)" <ji...@apache.org> on 2020/02/27 18:05:00 UTC

[jira] [Created] (ORC-606) Optimize Timestamp parseNanos calculation

Panagiotis Garefalakis created ORC-606:
------------------------------------------

             Summary: Optimize Timestamp parseNanos calculation
                 Key: ORC-606
                 URL: https://issues.apache.org/jira/browse/ORC-606
             Project: ORC
          Issue Type: Improvement
          Components: encoding
            Reporter: Panagiotis Garefalakis
            Assignee: Panagiotis Garefalakis


TimestampTreeReader currently uses a loop to calculate the scale of nanoseconds.

We can avoid the loop using array of pre-calculated powers of 10.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)