You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Greg Hogan (JIRA)" <ji...@apache.org> on 2016/06/01 16:28:59 UTC

[jira] [Created] (FLINK-4003) Use intrinsics for MathUtils logarithms

Greg Hogan created FLINK-4003:
---------------------------------

             Summary: 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)