summaryrefslogtreecommitdiff
path: root/configure.py
diff options
context:
space:
mode:
authorColin Ihrig <cjihrig@gmail.com>2021-12-31 15:22:56 -0500
committerGitHub <noreply@github.com>2021-12-31 20:22:56 +0000
commitd0c11765331edc457a3f5023c21cbe3f89fa6d17 (patch)
tree0b1bdf407264eb549f48c737d7b0cfd18ca8124a /configure.py
parent0de6a6341a566f990d0058b28a0a3cb5b052c6b3 (diff)
downloadnode-new-d0c11765331edc457a3f5023c21cbe3f89fa6d17.tar.gz
fs: use async directory processing in cp()
The readdir() functions do not scale well, which is why opendir(), etc. were introduced. This is exacerbated in the current cp() implementation, which calls readdir() recursively. This commit updates cp() to use the opendir() style iteration. PR-URL: https://github.com/nodejs/node/pull/41351 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Diffstat (limited to 'configure.py')
0 files changed, 0 insertions, 0 deletions