Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Is this statement correct?
- X-seq: zsh-workers 12771
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Is this statement correct?
- Date: Thu, 7 Sep 2000 13:41:04 +0200 (MET DST)
- In-reply-to: "Andrej Borsenkow"'s message of Thu, 7 Sep 2000 15:26:21 +0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author