diff options
author | Colin Ihrig <cjihrig@gmail.com> | 2021-12-31 15:22:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-31 20:22:56 +0000 |
commit | d0c11765331edc457a3f5023c21cbe3f89fa6d17 (patch) | |
tree | 0b1bdf407264eb549f48c737d7b0cfd18ca8124a /configure.py | |
parent | 0de6a6341a566f990d0058b28a0a3cb5b052c6b3 (diff) | |
download | node-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