Closed jeswr closed 2 years ago
Should this be a part of the changes summarized at https://github.com/RubenVerborgh/AsyncIterator/issues/44#issuecomment-1166907641 ?
@jeswr is this something you're still working on? Would this be releasable as 3.x or 4.x?
@jacoscaz The changes are still valid - and there are no breaking changes. I can try and work on the test coverage over the weekend depending on my time (though I'm looking a bit stretched thin at this point).
No pressure or rush meant! Just checking, I was having a look at updating my summary in #44 and wasn't sure about this one. Nice!
As discussed in https://github.com/RubenVerborgh/AsyncIterator/pull/75#issuecomment-1168219877.
TODOs
root
is.readable
if the parent source is.readable
. If we assume that all of the intermediary sources areSynchronousTransformIterator
s as is the case when doing chaining then this will be true; but I am not sure if we should be making this assumption.Quick testing indicates that this results in a ~2x performance increase on the tests in #75