From: Matthew Farwell <dylan@ibmpcug.co.uk>
To: rc@archone.tamu.edu
Subject: Re: path caching
Date: Wed, 12 Feb 1992 11:32:39 -0600 [thread overview]
Message-ID: <9202121732.AA03504@ibmpcug.co.uk> (raw)
In-Reply-To: <199202100234.AA26625@cerberus.bhpese.oz.au>
In article <199202100234.AA26625@cerberus.bhpese.oz.au> you write:
>> Why can't you do something like:
>> This is untested, since I don't have symbolic links.
>> cache = $home/.cache
>> fn rehash {
>> for (i in $path) {
>> @{ cd $i
>> for (j in *) {
>> if (! test -x $cache/$j) ln -s $i/$j $cache/$j
>> }
>> }
>> }
>> }
>
>Possible, but I wanted to keep the size of the cache down, so
>directory lookups are quicker. If I did the above, I would have one
>directory with approx 1800 entries. I would also have name clashes
>with system v vs bsd vs gnu stuff. Still it may be worth testing.
You still have the name clashes anyway.
Dylan.
next prev parent reply other threads:[~1992-02-12 20:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-02-08 22:01 Scott Merrilees
1992-02-08 14:32 ` John Mackin
1992-02-08 17:19 ` Chris Siebenmann
1992-02-09 14:06 ` Scott Merrilees
1992-02-09 18:55 ` Matthew Farwell
1992-02-10 13:34 ` Scott Merrilees
1992-02-12 17:32 ` Matthew Farwell [this message]
-- strict thread matches above, loose matches on Subject: below --
1992-02-08 13:31 DaviD W. Sanderson
1992-02-09 14:15 ` Scott Merrilees
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=9202121732.AA03504@ibmpcug.co.uk \
--to=dylan@ibmpcug.co.uk \
--cc=rc@archone.tamu.edu \
/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.
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).