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)

Reply via email to