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

Optimize Arrays.asList(...).forEach

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved: