[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Speed up project-kill-buffers
From: |
tomas |
Subject: |
Re: [PATCH] Speed up project-kill-buffers |
Date: |
Tue, 4 May 2021 08:25:14 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, May 04, 2021 at 01:46:43AM +0300, Dmitry Gutov wrote:
> On 04.05.2021 01:45, Stefan Monnier wrote:
> >Of course, we could also make the check super fast by keeping the
> >"current project" in a buffer-local var, and then just look for buffers
> >which have an `eq` value in that var. That would be both faster than
> >`file-in-directory-p` and more arguably more correct.
>
> Until the user changes some project setting and the "current
> project" becomes not current anymore.
All that looks to me like a classical caching problem, with cache
invalidation protocols and things.
(Don't take me too seriously, though. I've no skin in this game).
Cheers
- t
signature.asc
Description: Digital signature
- Re: [PATCH] Speed up project-kill-buffers, (continued)
- Re: [PATCH] Speed up project-kill-buffers, Dmitry Gutov, 2021/05/08
- Re: [PATCH] Speed up project-kill-buffers, Stephen Leake, 2021/05/16
- Re: [PATCH] Speed up project-kill-buffers, Dmitry Gutov, 2021/05/16
- Re: [PATCH] Speed up project-kill-buffers, Stephen Leake, 2021/05/19
- Re: [PATCH] Speed up project-kill-buffers, Stephen Leake, 2021/05/20
- Re: [PATCH] Speed up project-kill-buffers, Dmitry Gutov, 2021/05/24
- Re: [PATCH] Speed up project-kill-buffers, Dmitry Gutov, 2021/05/24
Re: [PATCH] Speed up project-kill-buffers, Dmitry Gutov, 2021/05/03