[
https://issues.apache.org/jira/browse/FLINK-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15319093#comment-15319093
]
ASF GitHub Bot commented on FLINK-4003:
---------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/flink/pull/2059
> 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)