7.x release date?
See original GitHub issueWhen will 7.x be stable? We use and like iter-tools
but would like to avoid upgrading to a release candidate in production.
Our biggest issues with 6.x are lack of a few functions (asyncFork, asyncSplitAt, asyncTakeSorted, asyncIsEmpty
) and asyncFilter
performance.
const n = 100000;
const evens = await iter.pipe(
iter.range(n),
iter.asyncFilter(async (n) => n % 2 == 0),
iter.asyncToArray,
);
Takes 700ms on my machine, but takes a more reasonable 150ms with v7.0.0-rc.0
. Replacing asyncFilter
with
function asyncFilter<T>(predicate: (t: T) => iter.MaybePromise<boolean>) {
return async function* (iterable: iter.AsyncIterableLike<T>) {
for await (const i of iterable) {
if (await predicate(i)) {
yield i;
}
}
};
}
makes that function take ~40ms.
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (17 by maintainers)
Top Results From Across the Web
Google Pixel 7 release date, price and features
The Pixel 7 series were first teased by Google in May 2022, but officially and fully unveiled on October 6th, 2022, with the...
Read more >Cisco Nexus 7000 Series Switches - Release Notes
Release 7.x. Cisco Nexus 7000 Series NX-OS Release Notes, Release 7.3 10/Feb/2022; Cisco Nexus 7000 Series NX-OS Release Notes, Release 7.2 10/May/2020 ......
Read more >VMware ESXi 7.0 Update 3i Release Notes
Name and Version, Release Date, Category, Detail ... The typical way to apply patches to ESXi 7.x hosts is by using the vSphere...
Read more >VMware vSphere 7.x on Dell PowerEdge Systems Release ...
The current release of VMware vSphere incorporates feature upgrades, new hardware, feature support, and bug fixes that enhance the virtualization experience in ...
Read more >Release Notes - The PHP Framework For Web Artisans
Laravel 7 continues the improvements made in Laravel 6.x by introducing Laravel Sanctum, routing speed improvements, custom Eloquent casts, Blade component ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just to report I’m working steadily on the full
v7.0.0
now. To my goal of not including anything unsound I’m reworking regex-based splitting. Right now I’m putting together@iter-tools/regex
for evaluating regular expressions in a fully streaming fashion against iterables, and that should then unblock the rest of the string refactoring work.It’s looking like it might be today or tomorrow!