Good morning.

On Tue, Nov 12, 2019 at 8:44 PM Dmitry Goncharov
<dgoncha...@users.sf.net> wrote:
> On Sun, Nov 10, 2019 at 6:15 PM Paul Eggert <egg...@cs.ucla.edu> wrote:
> > It seems to me that the performance issues are still there, in the sense 
> > that if
> > GLOB_ONLYDIR is set then 'glob' now does a stat call on each directory 
> > entry to
> > see whether it's a directory.
>
> The idea is that this patch relieves the program from having to call
> stat and the total number of stats stays the same.

This version of the same patch covers GLOB_NOCHECK and GLOB_NOMAGIC better
for the trailing slash case
and also fixes glob ("", GLOB_NOMAGIC, ...) case.

regards, Dmitry

Reply via email to