Uh oh!
There was an error while loading. Please reload this page.
fs: make recursive readdir algorithms iterative - #47650
Conversation
7de1599 to
28fc566CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot
commented
Apr 20, 2023
nodejs-github-bot
commented
Apr 21, 2023
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: mscdex <mscdex@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Ethan-Arrowood
commented
Apr 25, 2023
Thank you for the great recommendations @mscdex I have made all the changes and thought I haven't timed it, the tests are running noticeably faster on my local machine 😄 |
Ethan-Arrowood
commented
May 9, 2023
Is there anything blocking this from merging? |
nodejs-github-bot
commented
May 9, 2023
anonrig
commented
May 9, 2023
Since 7 days have passed since you opened this PR, we can merge this with only 1 review, but I prefer to wait a couple of days to receive a review from @nodejs/fs team. |
MoLow
commented
May 9, 2023
I will take a look later |
nodejs-github-bot
commented
May 10, 2023
nodejs-github-bot
commented
May 10, 2023
nodejs-github-bot
commented
May 10, 2023
Landed in 12a93ce |
PR-URL: #47650 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
PR-URL: #47650 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
PR-URL: nodejs#47650 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
This PR updates the new
readdirrecursive algorithm to be iterative. This helps avoid potential callstack issues for very large directories.