Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-4003

Use intrinsics for MathUtils logarithms

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • 1.1.0
    • 1.1.0
    • None
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              greghogan Greg Hogan
              greghogan Greg Hogan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: