zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: <zsh-workers@sunsite.auc.dk>
Subject: RE: Is this statement correct?
Date: Tue, 19 Sep 2000 09:50:24 +0400	[thread overview]
Message-ID: <000001c021fd$80f81b80$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <200009071141.NAA01988@beta.informatik.hu-berlin.de>

>
>
> Andrej Borsenkow wrote:
>
> > This from new section, User contribution/Utilities:
> >
> > ====
> > Recompiling Functions
> > ---------------------
> >
> > If you frequently edit your zsh functions, or periodically update your
> > zsh installation to track the latest developments, you may find that
> > function digests compiled with the zcompile builtin are frequently out
> > of date with respect to the function source files.  This is not usually
> > a problem, because zsh always looks for the newest file when loading a
> > function, but it may cause slower shell startup and function loading.
> > ====
> >
> > I remember, that Sven explicitly stated that digest files are
> *not* checked
> > against there source functions to save execution time (individual
> files are).
> > I do not have articele number handy.
>
> I vaguely remember having said something about this or something
> similar but having been confused at that time (I don't remember when
> that was either and can't offer a message number). However: yes, it is
> true. The code *does* compare the times for digest files, individual
> zwc files and the original file (if they can be found). See the
> function try_dump_file() in parse.c.
>


It does not work:

bor@itsrm2% print $fpath
/home/bor/.zsh.d/completion /home/bor/.zsh.d/std-3.1.9-dev-6.zwc
/home/bor/.zsh.d/functions /tools/share/zsh/site-functions ... (standard part
follows)
bor@itsrm2% ll /tools/share/zsh/3.1.9-dev-6/functions/Core/_match
-rw-r--r--   1 root     other       1539 Sep 19 09:44
/tools/share/zsh/3.1.9-dev-6/functions/Core/_match
bor@itsrm2% ll ~/.zsh.d/std-3.1.9-dev-6.zwc
-rw-------   1 bor      sinix    1491984 Sep 18 11:08
/home/bor/.zsh.d/std-3.1.9-dev-6.zwc

Zsh takes _match from digest file and *not* from external definition. Even if
it is newer.

-andrej


  reply	other threads:[~2000-09-19  5:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-07 11:41 Sven Wischnowsky
2000-09-19  5:50 ` Andrej Borsenkow [this message]
2000-09-19  7:18   ` Bart Schaefer
2000-09-19  8:00     ` PATCH: " Andrej Borsenkow
  -- strict thread matches above, loose matches on Subject: below --
2000-09-07 11:26 Andrej Borsenkow

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='000001c021fd$80f81b80$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --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).