← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Memoize SHAPE_LINE_CHAIN bounding box computation

 

Orson & Tom,

Please look over this patch when you get a chance to see if it makes
sense to commit it.

Thanks,

Wayne

On 8/6/2016 9:36 PM, Chris Pavlina wrote:
> The board I'm working on is quite complex and makes KiCad _very_ slow,
> so I'm working on a bit of profiling and optimizing. The attached patch
> memoizes SHAPE_LINE_CHAIN bounding box computation, which is a hot spot
> during netlist sync (presumably when trace/net connections are
> calculated). For my specific case, it results in a 38% speedup, from 21
> seconds down to 13 seconds.
> 
> Next hotspot to tackle is NETLIST_OBJECT_LIST::BuildNetListInfo :)
> 
> 
> 
> _______________________________________________
> 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