NumProcs() just counts files under f, so use f.Readdirnames to avoid `lstat` syscall inside f.Readdir.
1 file changed