Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Use of caching with completions
- X-seq: zsh-workers 7897
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Use of caching with completions
- Date: Fri, 17 Sep 1999 09:50:35 +0200 (MET DST)
- In-reply-to: Adam Spiers's message of Thu, 16 Sep 1999 17:17:04 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Adam Spiers wrote:
> Would it be worth storing the data to a file so that recalculation
> only takes place when the user says so? After all, on many systems
> the set of man pages (say) very rarely changes.
;-) I once used this for `man'...
> Would it be worth abstracting the caching layer, so that the user can
> force recalculation of any particular data set through a standard
> interface? Or is this all stupidly overkill and should I just get a
> life and deal with the n-second pause (where n is small) the first
> time I complete man pages/rpm packages/Perl modules etc. etc. in a new
> shell? :-)
Hadn't thought about generic support for caching (well, only in the
context of moving (parts of) `_argument' into C-code).
Now I'm dreaming again: if we had a generic package system, even with
dependencies between packages, we could have a `cache' package and
make completion depend upon that...
Sigh.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author