pcbnew: avoid unnecessary copy in RN_NET::processPads()
Saves >30% run time on ratsnest rebuild for high-fanout nets.
This commit is contained in:
parent
ce7ce77d80
commit
41223a81d3
|
@ -1003,7 +1003,7 @@ void RN_NET::processPads()
|
|||
m_links.RemoveConnection( edge );
|
||||
|
||||
LSET layers = pad->GetLayerSet();
|
||||
RN_LINKS::RN_NODE_SET candidates = m_links.GetNodes();
|
||||
const RN_LINKS::RN_NODE_SET& candidates = m_links.GetNodes();
|
||||
RN_LINKS::RN_NODE_SET::iterator point, pointEnd;
|
||||
|
||||
point = candidates.begin();
|
||||
|
|
Loading…
Reference in New Issue