← Back to team overview

kicad-developers team mailing list archive

Re: Speed improvements for SELECT / DESELECT in GAL

 

Hi Oliver,

Thank you very much, I have just pushed your patch.

Cheers,
Orson

On 07/24/2017 04:25 PM, Oliver Walters wrote:
> When I was working on speed improvements for DUPLICATE action in GAL, I
> also discovered that the select / deselect functions were very slow.
> 
> Ref: https://lists.launchpad.net/kicad-developers/msg29539.html
> 
> The attached patch reduces time taken to select / deselect items by ~75%
> 
> Test Case: ~500 SSOP footprints, select all / deselect all
> 
> Essentially, selecting and deselecting forced an invalidation of the item
> layer set, which quickly adds up in terms of time taken to regenerate layer
> data.
> 
> Now only KIGFX::COLOR is invalidated.
> 
> Cheers,
> Oliver
> 
> 
> 
> _______________________________________________
> 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
> 


Attachment: signature.asc
Description: OpenPGP digital signature


References