Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • $\begingroup$ This, of course would be magnificent to use, but I have to rely on vanilla Mathematica at a client's end, thus I have to work with what's in the box. $\endgroup$ Commented Mar 2, 2021 at 8:45
  • $\begingroup$ @IstvánZachar Well, most of Streaming is in the vanilla Mathematica :). But of course, you are right. Being undocumented, it can't be relied upon in terms of future backward compatibility. Unfortunately, Streaming has been on hold for the last 5 years. There is some hope though, that Streaming will become a first-class citizen in Mathematica in the foreseeable future. $\endgroup$ Commented Mar 2, 2021 at 10:57
  • $\begingroup$ @IstvánZachar OTOH, what I certainly should be able to do would be to incorporate all the above extensions and patches into Streaming, so that e.g. in 12.3 or may be 12.4 it would not require any extra code / patches to run the examples like those in the post. Of course, that does not solve the main problem of it being undocumented and unofficial. $\endgroup$ Commented Mar 2, 2021 at 11:01
  • $\begingroup$ It would be nice to add a SeedRandom call when defining a sample. $\endgroup$ Commented Mar 2, 2021 at 19:07
  • $\begingroup$ @CarlWoll You are right, I should've done just that. I have instead shown the output for lists, which can be copied, but of course SeedRandom is the way. I might later edit that in, would have to recompute / edit all the timings etc. then. B.t.w., your version of lazy tuples is amazingly fast, it can pretty much compete with the internal implementation. Hats off. $\endgroup$ Commented Mar 2, 2021 at 20:07