DEV Community

Discussion on: How I Wrote the Fastest Directory Crawler Ever

Collapse
 
tunnckocore profile image
Charlike Mike Reagent

Okay, I see why it was 4700, it was doubled.

Updated the command ls -al node_modules/**/* | grep "^-" | grep -v "node_modules" | wc -l

It basically is 2398, including the dot files, that's closer to your report. Soo.. I don't know.

Thread Thread
 
thecodrr profile image
Abdullah Atta

Yes I tried various other commands. Fdir comes really close and since it cannot handle symlinks (yet) the difference maybe because of that. But overall, fdir wins. 😁😁😁