Why is RUST traversing directories slower than node

For context, I've written very similar node code to walkdir. The main additional complexity, other than walkdir taking a ton of additional options I didn't need to care about, is that JS has generators, which significantly simplify implementing this and other iterators. Rust has not settled on exactly how these would work, but it is available as an unstable feature

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.