>>>> "Ben" == Ben Wing <ben(a)666.com>
Ben> I ran the Cywgin `xemacs'; I notice it's quite fast once it starts up but
Ben> dog-slow doing so.
Ben> I imagine much of the time is spent doing multiple stats down through the
Ben> package tree.
Unless something's changed that I don't know about, it does only one
pass. But you're right that they take up some time.
Ben> Then, next time, use this cache instead of actually reading the directories.
Ben> However, go through each resulting directory in load-path and stat it to see
Ben> what the modification time is; if so, we need to discard the file listing
Ben> for that directory and reread it (thereby potentially adding new directories
Ben> to the cache that need to be recursed into, or removing directory trees from
Ben> the cache).
It seems to me this would incur the same number of stats as we have.
We don't actually stat the individual files---just the directories.
Or am I misunderstanding something you said?
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla