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

Right-bias range spliterators for large ranges

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: