Optimize Arrays.asList(...).forEach

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: None
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved: