ponder-lab / Optimize-Java-8-Streams-Refactoring

Refactorings for optimizing Java 8 stream client code for greater parallelism and efficiency.
http://cuny.is/streams
Eclipse Public License 1.0
8 stars 7 forks source link

Make inferring the initial ordering of streams produced by static methods more flexible #136

Open khatchad opened 6 years ago

khatchad commented 6 years ago

Currently hard-coded.

khatchad commented 6 years ago

In fact, the stream creation methods in https://docs.oracle.com/javase/8/docs/api/java/util/stream/StreamSupport.html are very flexible and even have characteristcs as a parameter. For now, we can default to ordered.