From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: _bison -vV<TAB> dumps core.
Date: Fri, 15 Oct 1999 12:29:43 +0200 (MET DST) [thread overview]
Message-ID: <199910151029.MAA18013@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Tanaka Akira's message of 15 Oct 1999 19:14:07 +0900
Tanaka Akira wrote:
> > Thank you for helping me debugging `computil'. Is it fast enough for
> > you? And is the speed difference to the shell code noticeable?
>
> It's good. I can feel the difference on Sun Ultra5.
> Unfortunately, it is not general enough to be used by _apt.
>
> I think the idea of general command line parsing builtin mentioned in
> 7956 is very good. _regex_arguments (used by _apt) is too slow.
The problem which I hadn't thought about before is caching. To allow
(aggressive) caching and avoid having to give the definitions more
than once and avoid using some sort of tag passing back and forth
(between C- and shell-code) argument and command line parsing have to
be done together (of course, this also simplifies the C-code but that
shouldn't matter too much). Anyway, the parsing stuff is nicely
separated in C, so it wouldn't be too hard to re-use some of the
functions for other helper builtin (in fact, `compvalues' already uses
code originally written for `comparguments'). But `regex_arguments'
(which I was thinking about, too) is different enough to justify its
own builtin, I think.
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~1999-10-15 10:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-15 10:29 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-10-15 8:37 Sven Wischnowsky
1999-10-15 10:14 ` Tanaka Akira
1999-10-15 8:02 Tanaka Akira
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=199910151029.MAA18013@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.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).