@chalybeum ..the feature being mentioned seems to be the `FilterDescend` 
predicate function of the referenced package. You would just load up a Nim 
`HashSet` from `sets` with to be skipped paths and pass some predicate like 
`path notin blacklist`, with `blacklist` probably being a captured closure 
variable.

While we are resurrecting a zombie-ish thread to promote a package ;-), I can 
say something about performance expectations that may be uncommon knowledge. 
The GNU coreutils `find` goes through contortions to be able to traverse file 
hierarchies that are more deep than the limit on open file descriptors. This 
results in that `find` using like 3.5x the syscalls, 2.5x the CPU time, and 3x 
the RAM of more direct implementations. If that data must be read off a 
persistent IO device those usages will not be bottlenecks, but on a fully 
cached run they will be. So, a decent speed-up relative to GNU `find` on 
non-pathological file trees is sometimes possible, if that sort of speed-up 
motivates anyone.

Reply via email to