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

Implement concat() #65

Open khatchad opened 7 years ago

khatchad commented 7 years ago

See Figure 2 in the paper draft.

khatchad commented 6 years ago

A problem here is that streams passed to concat() may not (immediately) terminate. But, their concatenated stream may. See https://docs.oracle.com/javase/10/docs/api/java/util/stream/Stream.html#concat(java.util.stream.Stream,java.util.stream.Stream).

morris821028 commented 4 years ago

Does it include Efficient multiple-stream concatenation in Java?

khatchad commented 4 years ago

Interesting article. This issue is specifically for the concat operations. Operations such as flatMap() are already compatible.