bug-bash
[Top][All Lists]
Advanced

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

Re: alias problem -- conflict found


From: Robert Elz
Subject: Re: alias problem -- conflict found
Date: Thu, 11 Jul 2019 00:13:39 +0700

    Date:        Wed, 10 Jul 2019 09:01:28 -0700
    From:        L A Walsh <bash@tlinx.org>
    Message-ID:  <5D260BD8.8010800@tlinx.org>

  | What do you think aliases are?

I know exactly what aliases are.   (I could just say "useless" but
that's a different kind of what they are than you mean.)

  | They are both a simple hash substitution

substition yes, hash, maybe...  I have no idea how Chet has chosen to
implement them, perhaps a hash table, perhaps a b-tree, perhaps a
simple linear list (sorted, or simply first (or last) first, or perhaps
maintained in use order fashion) - none of that matters to anything
as far as most of us are concerned.

  | Aliases are store/implemented using hashes the same as stored paths
  | are.  They are effectively the same.

They might be implemented using similar techniques, but who cares?   But
they aren't built, used, or removed, in anything like the same way, which
is what matters to users of them.

kre




reply via email to

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