Subject: Re: bug#77566: [PATCH] Add option for automatically delete non-existent projects.

From: Elijah Gabe Pérez <[email-masked]>
Date: Mon, 7 Apr 2025 19:25:33 -0600

Dmitry Gutov <[email-masked]> writes:

> On 06/04/2025 03:29, Sean Whitton wrote:
> > Thanks, though why do this only when switching projects?
> > Why not do it proactively whenever fetching the list of projects?
> > Performance concerns?
>
> I'm concerned about performance, yes. With my SSD, it takes about 4ms to
> "clean up" ~70 projects. The number could be higher, and the hard drive
> could be spinning media.
>

Yeah, that is why i originally added it only when switching projects,
projectile does the same.

So could someone point out what will we get by proactively cleaning up
> the list, rather than doing that only when a project is being prompted for?

Maybe for ensure that the zombies were removed?

For example, packages that use project--list for read the projects.

Instead what about purge it once after emacs startup?