[
https://issues.apache.org/jira/browse/FLINK-14989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16984744#comment-16984744
]
Zhenghua Gao commented on FLINK-14989:
--------------------------------------
I'm afraid we should not do that. Modern compiler will optimize this away for
you.
And as [~TsReaper] mentioned above: you could do a benchmark to measure the
benefit of the alternatives you try.
> Improve efficiency by bitwise operation.
> ----------------------------------------
>
> Key: FLINK-14989
> URL: https://issues.apache.org/jira/browse/FLINK-14989
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Runtime
> Reporter: Zhang Ziqiang
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> To improve performance, I replaced "/" with ">>", and replaced "*" with "<<".
--
This message was sent by Atlassian Jira
(v8.3.4#803005)