Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8037106

Optimize Arrays.asList(...).forEach

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 9
    • None
    • core-libs
    • None

    Backports

      Description

        Currently Arrays.asList(...).forEach defers to the default implementation on Iterable.

        An optimized implementation can be provided directly iterating over the array. Same can apply for other default methods, replaceAll and sort.

        Attachments

          Issue Links

            Activity

              People

                psandoz Paul Sandoz
                psandoz Paul Sandoz
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: