RubenVerborgh / AsyncIterator

An asynchronous iterator library for advanced object pipelines in JavaScript
https://rubenverborgh.github.io/AsyncIterator/docs/
Other
48 stars 7 forks source link

draft: synchronousTransformIterator #77

Closed jeswr closed 2 years ago

jeswr commented 2 years ago

As discussed in https://github.com/RubenVerborgh/AsyncIterator/pull/75#issuecomment-1168219877.

TODOs

Quick testing indicates that this results in a ~2x performance increase on the tests in #75

jacoscaz commented 2 years ago

Should this be a part of the changes summarized at https://github.com/RubenVerborgh/AsyncIterator/issues/44#issuecomment-1166907641 ?

jacoscaz commented 2 years ago

@jeswr is this something you're still working on? Would this be releasable as 3.x or 4.x?

jeswr commented 2 years ago

@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).

jacoscaz commented 2 years ago

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!