Bob Proulx wrote:
>> Chet Ramey wrote:
>>> When this option is on, bash has to check the hashed filename for
>>> each hash lookup. This essentially causes the hash entry to be
>>> deleted and re-added each time, which resets the number of hits to 1.
>>> (It could probably be done without the deletion and re-addition; I
>>> should look at that.)
I looked, and it can. So performance will improve slightly, since there
doesn't need to be a redundant path search, and the `hit count', which is
just a coarse estimate of hashing effectiveness, will be more meaningful.
It was a bug, or at least a case of code no longer working as originally
intended.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU[EMAIL PROTECTED]http://cnswww.cns.cwru.edu/~chet/
___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash