Streams are cool and efficient; but a downside is that if you want to replay a stream you need to be able to fit the full stream in memory (or on disk) which is often kind of against the point of having streams. Which means it requires rethinking some patterns!
I mean, yeah a bit of caching is okay for sure -- also BufRead / BufReader allow for this. But wanting to do a full replay means caching the whole stream which is *quite* against the point of streams, haha.
-
-
oh for sure, I guess I haven’t been able to do full replay on IO data in a while, I am happy if I get to cache a couple of elements
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.