hg: lambda/lambda/jdk: The Node count will be required when the Node spliterator is obtained and it is cheaper

paul.sandoz at oracle.com paul.sandoz at oracle.com
Wed Feb 20 06:29:35 PST 2013


Changeset: 9d8305f2a26d
Author:    psandoz
Date:      2013-02-20 15:29 +0100
URL:       http://hg.openjdk.java.net/lambda/lambda/jdk/rev/9d8305f2a26d

The Node count will be required when the Node spliterator is obtained and it is cheaper
to aggressively calculate bottom up as the tree is built rather than later on from the top down
traversing the tree.

! src/share/classes/java/util/stream/Nodes.java



More information about the lambda-dev mailing list