From: Miles Bader <miles.bader@necel.com>
Cc: Eli Zaretskii <eliz@gnu.org>, Drew Adams <drew.adams@oracle.com>,
emacs-devel@gnu.org
Subject: Re: auto-update of Info dir file?
Date: Tue, 16 May 2006 13:17:17 +0900 [thread overview]
Message-ID: <buo64k661te.fsf@dhapc248.dev.necel.com> (raw)
In-Reply-To: <87u07qr5iq.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 15 May 2006 23:54:06 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> I think this will slow down Info startup to an intolerable degree.
>> For example, I have more than 70 such top-level Info files in my Info
>> directory, some of them compressed.
>
> It's probably OK if we only do the check when the mtime of the parent dir is
> more recent than the mtime of the dir file (and only under Unix, of course,
> since this presumes POSIXy semantics).
I don't understand why Drew's suggestion would be slow anyway -- it's a
simple syntactic check, which would only use the _names_ of the info
files in the directory listing. It wouldn't even have to stat the info
files, much less read or decompress them.
-Miles
--
Any man who is a triangle, has thee right, when in Cartesian Space, to
have angles, which when summed, come to know more, nor no less, than
nine score degrees, should he so wish. [TEMPLE OV THEE LEMUR]
next prev parent reply other threads:[~2006-05-16 4:17 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-15 15:28 auto-update of Info dir file? Drew Adams
2006-05-15 15:39 ` Andreas Schwab
2006-05-15 15:53 ` Drew Adams
2006-05-15 16:54 ` Andreas Schwab
2006-05-15 20:31 ` Eli Zaretskii
2006-05-16 3:54 ` Stefan Monnier
2006-05-16 4:17 ` Miles Bader [this message]
2006-05-16 6:00 ` David Kastrup
2006-05-16 17:39 ` Eli Zaretskii
2006-05-17 2:24 ` Miles Bader
2006-05-16 17:36 ` Eli Zaretskii
2006-05-16 17:54 ` Drew Adams
2006-05-16 18:14 ` Eli Zaretskii
2006-05-16 19:33 ` Drew Adams
2006-05-17 3:24 ` Eli Zaretskii
2006-05-16 19:44 ` Richard Stallman
2006-05-16 18:44 ` Stefan Monnier
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=buo64k661te.fsf@dhapc248.dev.necel.com \
--to=miles.bader@necel.com \
--cc=drew.adams@oracle.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=miles@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.