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

Right-bias range spliterators for large ranges

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8
    • Component/s: core-libs

      Description

      Because of the presence of encounter-order-sensitive stream operations like limit, computation trees can get quite deep even if the user only wants the first few elements. The range spliterators should, for large ranges, right-bias the split so that rather splitting into two equal huge chunks, it splits off a merely large chunk instead.

        Attachments

          Activity

            People

            Assignee:
            psandoz Paul Sandoz
            Reporter:
            briangoetz Brian Goetz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: