Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Caching between matchers
- X-seq: zsh-workers 16311
- From: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: Caching between matchers
- Date: 08 Dec 2001 18:07:52 +0300
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
When completion generates list of matche on-the-fly (like installed RPMs
or list of available RPMs in urpmi completion) it currently does it for
every matcher that is tried. If list is long (urpmi has ~3000 packages
in database) or needs some time to build (esp. when forking off) it may
take quite a bit of time.
Because the list obviously is not changed between matchers, is it
possible to reuse it?
Actually, is it possible to traverse matchers list internally in
compadd? This way we'd have just one list that would be checked against
matchers. I am not sure what drawbacks it have though.
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author