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?