From: Borsenkow Andrej <Andrej.Borsenkow@mow.siemens.ru>
To: Zsh hackers list <zsh-workers@sunsite.dk>
Subject: Caching between matchers
Date: 08 Dec 2001 18:07:52 +0300 [thread overview]
Message-ID: <1007824073.29799.1.camel@localhost.localdomain> (raw)
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
next reply other threads:[~2001-12-08 15:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-08 15:07 Borsenkow Andrej [this message]
2001-12-08 17:51 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1007824073.29799.1.camel@localhost.localdomain \
--to=andrej.borsenkow@mow.siemens.ru \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).