Comment on A visual demo of Ruby's lazy enumeratorparentComments−hansvm1yIn the worst case, that must have intermediate space requirements equal to the entire collections, right?−hakunin1yI don’t think that can happen because all those functions assume the streams are consistently sorted.−hansvm1yOhhhhh, nice. Yeah, sorted data is powerful. Thanks for pointing that out.
Comments
In the worst case, that must have intermediate space requirements equal to the entire collections, right?
I don’t think that can happen because all those functions assume the streams are consistently sorted.
Ohhhhh, nice. Yeah, sorted data is powerful. Thanks for pointing that out.