Implicit index performance issue
Harazi opened this issue · comments
https://github.com/Ceicc/range/blob/96af74776e5cf4b77c67e36f9aa1aa5e0e3fffbc/index.js#L105
Instead of calling fs.promises.stat
in an unknown length loop, get the available indexes from fs.promises.readdir