bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When a hashed pathname is deleted, search PATH


From: Reuben Thomas
Subject: Re: When a hashed pathname is deleted, search PATH
Date: Mon, 17 Mar 2014 20:38:48 +0000

On 17 March 2014 20:30, Chet Ramey <chet.ramey@case.edu> wrote:

> On 3/17/14 10:17 AM, Dave Rutherford wrote:
> > On Mon, Mar 17, 2014 at 10:12 AM, Chet Ramey <chet.ramey@case.edu>
> wrote:
> >> On 3/15/14 2:44 PM, Reuben Thomas wrote:
> >>> On 15 March 2014 18:23, Chet Ramey <chet.ramey@case.edu
> >>> <mailto:chet.ramey@case.edu>> wrote:
> >>> Is there a downside to making checkhash the default?
> >>
> >> Only the minor performance hit it would extract on every command lookup.
> >
> > Only on commands that were found in the hash table, correct?
>
> Yes, of course.  I should have said every *successful* command hash table
> lookup.  This is much less of an issue now than when the option was first
> added.
>

OK, I misread the description, and thought it would only look the command
up if the execution fails. Why can't that be done?

-- 
http://rrt.sc3d.org


reply via email to

[Prev in Thread] Current Thread [Next in Thread]