Re: [Kicad-developers] Net names and net codes

2014-01-31 Thread Carl Poirier
Hi Maciej, Your last changes allow a complete independence of the loop iterations in RN_DATA::Recalculate( int aNet ). I have almost a 2x speedup on a Core i7-4770 with the very simple parallelization in the attached patch. I was expecting more, though. There seems to be a bottleneck somewhere.

Re: [Kicad-developers] Net names and net codes

2014-01-31 Thread Maciej Sumiński
Hi Carl, Great job! I have just tested your patch and I confirm 2x boost on my machine as well. To tell the truth, I consider this a big speedup - particularly that you made it with just a few lines of code. RN_DATA::Recalculate() is run every time when there are changes on the board (e.g.

Re: [Kicad-developers] Net names and net codes

2014-01-31 Thread Carl Poirier
I'm glad you like it. You did most of the work by eliminating the statics in the triangulator. I have not tested it under any other platform than Linux, but it's supposed to work under MSVC++ as well. On Fri, Jan 31, 2014 at 12:01 PM, Maciej Sumiński maciej.sumin...@cern.chwrote: Hi Carl,