kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #33511
Re: Loading symbol libraries
-
To:
<kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
From:
Maciej Suminski <maciej.suminski@xxxxxxx>
-
Date:
Sat, 27 Jan 2018 14:49:55 +0100
-
Authentication-results:
spf=pass (sender IP is 188.184.36.46) smtp.mailfrom=cern.ch; lists.launchpad.net; dkim=none (message not signed) header.d=none;lists.launchpad.net; dmarc=bestguesspass action=none header.from=cern.ch;
-
In-reply-to:
<5935453c-5a5e-3af7-3a95-7274794c4ce1@gmail.com>
-
Spamdiagnosticmetadata:
NSPM
-
Spamdiagnosticoutput:
1:99
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
Hi Wayne,
Sorry for late response, I am traveling again. I have not tested the
patch itself but read the code, mostly focusing on CMP_TREE_MODEL and
LIB_MANAGER{,_ADAPTER} classes. I think the proposed changes make sense
and are rather safe. It might be a good idea to merge this patch,
judging by the testers reactions.
Cheers,
Orson
On 01/26/2018 11:02 PM, Wayne Stambaugh wrote:
> Orson,
>
> Any comments on this? I would like to get this merged over the weekend.
>
> Wayne
>
> On 01/26/2018 09:35 AM, Wayne Stambaugh wrote:
>>
>>
>> On 01/26/2018 07:49 AM, jp charras wrote:
>>> Le 25/01/2018 à 16:24, Jeff Young a écrit :
>>>> More performance enhancements:
>>>>
>>>> 1) Edit Symbol gets similar fix as Place Symbol
>>>> 2) progress-dialog-updating reduced to once every 50ms
>>>> 3) SearchText gets lazy normalization
>>>> 4) translation of typeNames and default fieldNames reduced to a single time
>>>>
>>>> These fixes speed first-load-time of both Edit Symbol and Place Symbol by a factor of 3, and
>>>> second-load-time of Edit Symbol to near-instantaneous.
>>>>
>>>> Cheers,
>>>> Jeff.
>>>
>>> Hi Jeff,
>>>
>>> It looks good to me.
>>> I did not find any issue with this patch.
>>>
>>> I am waiting for more tests.
>>>
>>>
>>
>> I just tested this and it looks good to me. It's had to believe that
>> the translation lookup was causing that big of a performance hit. Nice
>> work!
>>
>> @JP, did you check to make sure translations are correct when switching
>> locales?
>>
>> @Orson, are you ok with the changes to the LIB_MANAGER and
>> LIB_MANAGER_ADAPTER objects.
>>
>> If all of this checks out, I will merge this patch.
>>
>> 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
>
Follow ups
References
-
Loading symbol libraries
From: Jeff Young, 2018-01-24
-
Re: Loading symbol libraries
From: Wayne Stambaugh, 2018-01-24
-
Re: Loading symbol libraries
From: Jeff Young, 2018-01-24
-
Re: Loading symbol libraries
From: Jeff Young, 2018-01-24
-
Re: Loading symbol libraries
From: Maciej Sumiński, 2018-01-24
-
Re: Loading symbol libraries
From: Jeff Young, 2018-01-24
-
Re: Loading symbol libraries
From: Jeff Young, 2018-01-24
-
Re: Loading symbol libraries
From: Jeff Young, 2018-01-24
-
Re: Loading symbol libraries
From: Wayne Stambaugh, 2018-01-25
-
Re: Loading symbol libraries
From: Jeff Young, 2018-01-25
-
Re: Loading symbol libraries
From: Jeff Young, 2018-01-25
-
Re: Loading symbol libraries
From: jp charras, 2018-01-26
-
Re: Loading symbol libraries
From: Wayne Stambaugh, 2018-01-26
-
Re: Loading symbol libraries
From: Wayne Stambaugh, 2018-01-26