bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41646: Startup in Windows is very slow when load-path contains many


From: Lin Sun
Subject: bug#41646: Startup in Windows is very slow when load-path contains many
Date: Fri, 1 Nov 2024 19:30:13 +0000

On Fri, Nov 1, 2024 at 7:18 PM Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>
> >> We can easily detect changes to `load-path` itself, of course, but as
> >> for changes to the content of the directories in `load-path` that would
> >> be more difficult&costly, admittedly.  My plan was to do nothing
> >> about it (i.e. allow the cache to go stale): if we use the cache only to
> >> tell `load` in which directory to look for the file, it should usually
> >> be safe because IME it's rare for files to be added/removed from
> >> directories such that it changes from which directory a given ELisp file
> >> is loaded.  But of course we could also make efforts to try and keep our
> >> cache consistent, e.g. via OS-level notification infrastructure or
> >> by flushing the cache after a N seconds.
> > Agree the changes are difficult and costly.
>
> I don't understand: I didn't say (nor do I think) that any of that is
> complex or costly.
>
Apologize for my misunderstanding of the "difficult&costly", will read
the comments more precisely.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]