-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seq.shuffle() (and others) should delay buffering until a terminal op requests the stream values #195
Comments
An idea on how to get rid of I think of a special In every place we now call But it's just a theoretical concept from the top of my head - I haven't tested this in any way and I don't know whether this would really work. |
No, it is a bad solution. The above wouldn't work if the
But I'm pretty sure it can be done to support multiple |
Hmm, I'm happy to look at a concrete code implementation :) |
See comment there:
aol/cyclops#99 (comment)
Others:
innerJoin()
leftOuterJoin()
removeAll()
retainAll()
window()
zip()
eagerly allocates anIterator
SeqUtils.transform()
eagerly allocates aSpliterator
reverse()
crossJoin()
duplicate()
grouped()
partition
In short: Each operation has this flaw
The text was updated successfully, but these errors were encountered: