Re: Re: Shouldn't collection zip functions return streams?
Simon Ochsenreither <[email protected]> Thu, 26 Nov 2015 19:45:47 -0800 (PST)
| Newsgroups | gmane.comp.lang.scala |
|---|---|
| Message-ID | <[email protected]> |
> AFAIK, (c1, c2).zipped performs a lazy zip of c1, c2. > Absolutely correct. The largest issue with the rest of collections is that they evaluate things eagerly. Every other problem follows from that. We are paying an extremely high price in terms of correctness, performance and reusability for a slight increase in convenience. Within the current design none of them can be addressed. -- You received this message because you are subscribed to the Google Groups "scala-language" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.