emacs-devel
[Top][All Lists]
Advanced

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

Re: Unboxed package manager


From: Eli Zaretskii
Subject: Re: Unboxed package manager
Date: Tue, 21 Mar 2023 19:29:51 +0200

> Date: Tue, 21 Mar 2023 14:20:41 +0000
> From: Gregory Heytings <gregory@heytings.org>
> cc: owinebar@gmail.com, casouri@gmail.com, emacs-devel@gnu.org
> 
> >> I'm not surprised, but I wonder whether it's possible to do better.
> >
> > Yes: load each package with an explicit absolute file name, without 
> > relying on load-path search.
> >
> 
> Of course 😉  But by "doing better" I meant "to improve the way Emacs uses 
> load-path in such cases".

Why try to solve a problem if it can be avoided altogether?

> Likely with some kind of cache.

A cache will not necessarily help, and you will pay the price of
searching it at least once.  It should be clear that enlarging the
length of load-path is not scalable, unless we make it a hash-table of
sorts.  And I'm not sure we want this kind of complexity for such a
hilariously marginal use case.



reply via email to

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