Stream.findFirst for unordered source optimization

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: core-libs

      Currently Stream.findFirst() in parallel for unordered stream still tries to find the first stream element which adds unnecessary overhead. If the stream is unordered, findFirst() should work like findAny().

            Assignee:
            Tagir Valeev
            Reporter:
            Tagir Valeev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: