Skip to main content

Timeline for Scan through (partial) tuples

Current License: CC BY-SA 4.0

8 events
when toggle format what by license comment
Mar 2, 2021 at 20:07 comment added Leonid Shifrin @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.
Mar 2, 2021 at 19:07 comment added Carl Woll It would be nice to add a SeedRandom call when defining a sample.
Mar 2, 2021 at 11:01 comment added Leonid Shifrin @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.
Mar 2, 2021 at 10:57 comment added Leonid Shifrin @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.
Mar 2, 2021 at 8:45 comment added István Zachar 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.
Mar 2, 2021 at 1:00 history edited Leonid Shifrin CC BY-SA 4.0
Significantly shortened the post, removed some more detailed explanations
Mar 1, 2021 at 21:09 history edited Leonid Shifrin CC BY-SA 4.0
Added a section on compiled Select. A number of smaller improvements
Mar 1, 2021 at 19:12 history answered Leonid Shifrin CC BY-SA 4.0