Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14686 > unrolled thread

Re: Auto-update program cache feature

Started byEduardo Bustamante <dualbus@gmail.com>
First post2018-10-04 05:10 -0700
Last post2018-10-04 05:10 -0700
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Auto-update program cache feature Eduardo Bustamante <dualbus@gmail.com> - 2018-10-04 05:10 -0700

#14686 — Re: Auto-update program cache feature

FromEduardo Bustamante <dualbus@gmail.com>
Date2018-10-04 05:10 -0700
SubjectRe: Auto-update program cache feature
Message-ID<mailman.1700.1538655029.1284.bug-bash@gnu.org>
On Wed, Oct 3, 2018 at 11:20 PM Jeffrey Walton <noloader@gmail.com> wrote:
(...)
> How Bash achieves it is an implementation detail left to the experts.
> I made a few suggestions that don't seem to fit well. That's OK
> because Bash internals is not my area of expertise.

I think it's important to always consider the cost (in terms of
implementation complexity and maintenance) of a feature we request
from a free software program :)

> Architecturally each instance of Bash is an object could receive a
> "clear cache" message. How it is achieved does not matter to me. What
> is important is, the right thing is done to relieve users from the
> extra work for the common case.

This paragraph contradicts what you said earlier. You keep suggesting
that Bash should adopt this global message passing system where every
instance of the shell can broadcast messages to each other... that is
EXTREMELY complicated.

Anyways, I should've read the manual before replying to this email
thread. There's already a mechanism in place for what you want, it's
the `checkhash' shopt.

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web