Follow-up from "Speedup `DirList` by loading dir infos in parallel"
The following discussions from !3643 (merged) should be addressed:
-
@DavidVorick started a discussion: Is there any reason we have a limit instead of using one goroutine per directory? I don't think that it would be that much overhead.
-
@DavidVorick started a discussion: Same question as above applies here - would it be bad if we just used a new goroutine for every dir? My guess is that it wouldn't take much more memory and it'd probably speed things up because such a big part of the worker time is spent blocking for io
-
@DavidVorick started a discussion: I guess the same question here - is there a reason to limit the number of goroutines?