[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Relative speed of globbing and regex implementations
From: |
James Youngman |
Subject: |
Re: Relative speed of globbing and regex implementations |
Date: |
Sat, 8 Dec 2007 12:18:38 +0000 |
On Dec 7, 2007 6:57 AM, Jim Meyering <address@hidden> wrote:
> This is news to me.
> What type of patterns/regexps are you comparing?
Writing a test program shows me that it seems to be the other way
around, which is less surprising. More careful testing with find
shows a result consistent with this, too.
It appears that the reason for my earlier, mistaken impression was a
combination of the overhead of base_name() and the difference in
anchoring behaviour between "find -regex" and "find -name".
Apologies for any wasted time,
James.