in reply to Re: glob() far slower than `dir` (stat--)
in thread glob() far slower than `dir`

Thanks, tye, I've added a dosglob test case to the benchmark. I found that our network performance varies widely, and dosglob and readdir were roughly comparable on most runs. Either one would be preferable to using backticks, of course.

I didn't realize that DosGlob's version was so different, performance-wise. I figured it was mostly for the extended wildcard support and case-sensitivity issues. The scripts we write must be portable, but since it's available and works on our older Solaris setups, we can use that here, too.

--
[ e d @ h a l l e y . c c ]

  • Comment on Re^2: glob() far slower than `dir` (stat--)