kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #27399
Re: Call for testing.
No, I missed that. When PART_LIB was managing the cache, the
SCH_COMPONENTs parent object was the PART_LIB. That is no loner the
case so I will have to fix that somehow. A lot of this will go away
once the symbol library table in in place. Thanks for the heads up.
Cheers,
Wayne
On 1/28/2017 10:24 AM, Chris Pavlina wrote:
> Is it a known bug that in the schematic, symbols are seen as having no
> library association? If I click on a part, it shows "Library: none" in
> the status bar, and if I press ctrl+E over the part, libedit makes me
> select a library.
>
> On Fri, Jan 27, 2017 at 05:21:42PM -0500, Wayne Stambaugh wrote:
>> I finally got the new schematic I/O plugin fully functional for the
>> current schematic and symbol library file formats. When you have some
>> time, please test this to see if I've missed anything. I've pushed it
>> to my repo on launchpad here:
>>
>> https://code.launchpad.net/~stambaughw/kicad/+git/kicad-dev/+ref/use-symbol-library-table
>>
>> There is a noticeable performance hit on start up when loading a
>> schematic. I'm not sure why this is happening but I believe it has to
>> do with the cache validity test being called on every symbol search. I
>> verified that the cache isn't being reloaded but I'm a bit surprised
>> that there was as much of a performance hit. If you happen to notice
>> something I missed please let me know. I am primarily concern with the
>> accuracy and stability of the library file I/O at this point. I tested
>> everything I could think of against the current code and always got the
>> same file results but there may have been some corner cases that I
>> missed. The performance hit will be temporary. Once the symbol library
>> table support is implemented, the symbol search through the entire
>> library list will go away. Either the symbol is in the library
>> specified or it's not. I will probably introduce lazy loading as well
>> once the symbol library table is implemented as only libraries that
>> contain symbols in the schematic will need to be loaded when the
>> schematic is opened. Many thanks in advance for the help.
>>
>> Cheers,
>>
>> Wayne
>>
>> _______________________________________________
>> 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