8506cdf3ae
The SELECTION is a std::set. Numerical dereference of item n is O(n) as the iterator is not random access. Therefore, a for loop using numerical dereference is O(n!) and quickly slows. We avoid this by storing items to remove separately while iterating and then removing the items after we complete. Fixes: lp:1692081 * https://bugs.launchpad.net/kicad/+bug/1692081 |
||
---|---|---|
.. | ||
gerbview_actions.cpp | ||
gerbview_actions.h | ||
gerbview_control.cpp | ||
gerbview_control.h | ||
selection_tool.cpp | ||
selection_tool.h |