← Back to team overview

kicad-developers team mailing list archive

Re: Another performance patch....

 

What happens when footprint library file is modified outside the fp-lib-table? At one point you could change the footprint library file without performing the file write through the fp-lib-table and the next time you accessed the library, it would recognize the file was modified and reload the cache. Please make sure this behavior is not broken.

On 02/05/2018 04:51 PM, Jeff Young wrote:
wxWidgets should return Now() which will make the checksums not match and trigger a reload.

Of course what actually happens is that wxWidgets asserts. ;)

New patch on the way….

Cheers,
Jeff.

On 5 Feb 2018, at 21:42, Seth Hillbrand <seth.hillbrand@xxxxxxxxx <mailto:seth.hillbrand@xxxxxxxxx>> wrote:

Jeff-

Will removing a footprint library trigger a refresh?  Or will that mess up the checksum calculation?

-S

2018-02-05 13:04 GMT-08:00 Jeff Young <jeff@xxxxxxxxx <mailto:jeff@xxxxxxxxx>>:

    This one for Place Footprint (specifically the List All dialog
    found therein).

    On my machine it knocks the first-use time from 4s to 3s and the
    subsequent-use time from 2.5s to 1s.

    Cheers,
    Jeff.


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


_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto: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



References