I was asking the same question on IRC and just found this. Come from Python, I tried my first Nim program by convert existing script which scans a directory of 300k files to filter out 25k files. The Nim version would takes ~ 17s to run, as it scans all the directories while using find -prune or python os.walk and remove excluded dirs from dirs, which run in 1s. This would be really great feature to have in stdlib.
- Re: Can I "prune" directories with walkDirRect? HVN
- Re: Can I "prune" directories with walkDirRe... timothee
- Re: Can I "prune" directories with walkD... cblake
- Re: Can I "prune" directories with w... juancarlospaco
- Re: Can I "prune" directories wi... cblake
- Re: Can I "prune" directori... kaushalmodi
- Re: Can I "prune" direc... cblake
- Re: Can I "prune" d... cblake
- Re: Can I "prune" d... timothee
- Re: Can I "prune" d... cblake
