[
https://issues.apache.org/jira/browse/FLINK-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Greg Hogan closed FLINK-4003.
-----------------------------
Resolution: Implemented
Implemented in 1bbc1fb4d7b8701c38e6f6a78f3709448181d559
> Use intrinsics for MathUtils logarithms
> ---------------------------------------
>
> Key: FLINK-4003
> URL: https://issues.apache.org/jira/browse/FLINK-4003
> Project: Flink
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.1.0
> Reporter: Greg Hogan
> Assignee: Greg Hogan
> Priority: Trivial
> Fix For: 1.1.0
>
>
> {{MathUtils.log2floor}} and {{MathUtils.log2strict}} use naive loops which
> have efficient implementations in {{Integer}} that are commonly implemented
> as intrinsics [0].
> [0]:
> http://hg.openjdk.java.net/jdk8/jdk8/hotspot/file/tip/src/share/vm/classfile/vmSymbols.hpp#l680
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)