[
https://issues.apache.org/jira/browse/HIVE-8379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14162114#comment-14162114
]
Sean Busbey commented on HIVE-8379:
-----------------------------------
Can we get a JVM microbenchmark to ensure the jit isn't already taking care of
this for us? (since those are all constants)
> NanoTimeUtils performs some work needlessly
> -------------------------------------------
>
> Key: HIVE-8379
> URL: https://issues.apache.org/jira/browse/HIVE-8379
> Project: Hive
> Issue Type: Sub-task
> Reporter: Brock Noland
> Priority: Minor
>
> Portions of the math done with the constants can be pre-computed:
> https://github.com/apache/hive/blob/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/timestamp/NanoTimeUtils.java#L70
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)