Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: wordcode files
- X-seq: zsh-workers 9969
- From: Zefram <zefram@xxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: PATCH: wordcode files
- Date: Thu, 2 Mar 2000 17:52:44 +0000 (GMT)
- Cc: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx
- In-reply-to: <1000302164323.ZM15688@xxxxxxxxxxxxxxxxxxxxxxx> from Bart Schaefer at "Mar 2, 2000 04:43:23 pm"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
>How does that help with the situation where I have a directory named
>"foo" and a file named "foo.zwc" both within the same parent directory?
One logical way to handle this (if .../foo is in $fpath) is that the
digest file is treated as a cache of the directory in the same way that
individual wordcode files cache individual text files. So if autoloading
`bar' from that $fpath entry, zsh would date-compare (a) .../foo/bar (text
file), (b) .../foo/bar.zwc (individual wordcode), and (c) .../foo.zwc
(entry for `bar' in digest file), and use the newest of the three.
I'm not necessarily recommending this, it's just something to think about.
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author