You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a simple change to make our encoding methods take iterators of
results instead of iterators of unwrapped values.
In most (all?) real-world scenarios, you will have to deal with errors
as you serialize `LogMsg`s.
The previous design forced you to collect all that data in order to
first check for errors, and only then start encoding. Now you can just
stream as needed.
In the rare case where nothing can fail, you're just one `.map(Ok)` away
anyway.
As a side-effect, `rerun rrd merge|compact` now streams their output.
- DNM: requires #7092
- Related to #6984
0 commit comments