Re: RFR 8012987: Optimizations for Stream.limit/substream

2013-06-19 Thread Mike Duigou
Looks fine. I would encourage you to test and push all four of these together. Mike On Jun 14 2013, at 05:40 , Paul Sandoz wrote: Hi, This patch implements optimizations for the limit/substream operations when input to those operations have certain properties (corresponding to known

RFR 8012987: Optimizations for Stream.limit/substream

2013-06-14 Thread Paul Sandoz
Hi, This patch implements optimizations for the limit/substream operations when input to those operations have certain properties (corresponding to known size or unordered) which helps to avoid out of memory issues (not all, we still have some more work to do). The {Xxx}/Stream.generate