zsh-workers
 help / color / mirror / code / Atom feed
* Re: Is this statement correct?
@ 2000-09-07 11:41 Sven Wischnowsky
  2000-09-19  5:50 ` Andrej Borsenkow
  0 siblings, 1 reply; 4+ messages in thread
From: Sven Wischnowsky @ 2000-09-07 11:41 UTC (permalink / raw)
  To: zsh-workers


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@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-09-19  8:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-07 11:41 Is this statement correct? Sven Wischnowsky
2000-09-19  5:50 ` Andrej Borsenkow
2000-09-19  7:18   ` Bart Schaefer
2000-09-19  8:00     ` PATCH: " Andrej Borsenkow

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).