← Back to team overview

kicad-developers team mailing list archive

Re: fp-info-cache question

 

Could we write the global cache in the user's config directory next to where we write fp-lib-table?

If we cache global, we might not need project-based caching.

-Seth

On 2019-07-23 11:39, Jeff Young wrote:
Hi Rene,

Separate global and local caches would certainly be a refinement.

It’s not free, though, as platforms differ on where an appropriate
place to write a global cache is.  And the code has to be able to
combine the two (that might be easy or it might not — it’s been too
long since I’ve been in that area to remember).

Cheers,
Jeff.


On 23 Jul 2019, at 09:33, Rene Pöschl <poeschlr@xxxxxxxxx> wrote:

Is there a reason why this file is even part of the project directory? I kind of assume it holds the info of all footprints. (If i am misinformed about that then ignore my inquiry.) Meaning for most users will most likely be mostly system libs that can easily change while one does not work on the project for a longer time. Might it be better to have a global cache for the global libs and a local one for the local ones?

On 23/07/19 01:03, Seth Hillbrand wrote:
Hi Folks,

Odd question here but why do we have fp-info-cache?  Was there a bug
report for these or just speed improvements?

On my system, it is the difference between 1 second vs. 3 seconds during
the first footprint list load (full standard + personal libraries).
Does it make a bigger difference on other systems?  I assume so but I
was wondering if we have some data here?

I'd like to make storing it an option. I've been working on templates recently and keep needing to delete the extra files from the directory
(caches should not be valid for templates).

Thanks-
Seth

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp



_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Follow ups

References