On Wed, 12 Jul 2023 17:25:03 GMT, Stuart Marks <sma...@openjdk.org> wrote:
> Change some reverse-ordered spliterators to use > `Spliterators.spliterator(Collection, ORDERED)` instead of > `Spliterators.spliteratorUnknownSize()`. This gives SIZED and ORDERED > spliterators. More optimizations will be done later. I'm intending to > backport this to JDK 21 so I want this to be minimal. > > I've also included some adjustments to spliterator implementation comments to > clear up a few points of confusion. (No spec changes.) @PaulSandoz I'd appreciate your thoughts on the comment changes. ------------- PR Comment: https://git.openjdk.org/jdk/pull/14854#issuecomment-1633324874