Browse Source
Avoid the obsolete GetNextPin() call
Avoid the obsolete GetNextPin() call
This iterated over all pins to find the pin after a given item. Because out pattern is consistently to iterate in the outer loop, this means that we were an O(n^2) loop for the pins just to find their names. This affected very large parts (e.g. FPGAs) when switching sheets to display7.0
10 changed files with 42 additions and 90 deletions
-
8eeschema/dialogs/dialog_lib_edit_pin_table.cpp
-
29eeschema/lib_symbol.cpp
-
25eeschema/lib_symbol.h
-
20eeschema/sch_screen.cpp
-
6eeschema/sch_symbol.cpp
-
7eeschema/tools/symbol_editor_drawing_tools.cpp
-
7eeschema/tools/symbol_editor_edit_tool.cpp
-
5eeschema/tools/symbol_editor_move_tool.cpp
-
9eeschema/tools/symbol_editor_pin_tool.cpp
-
16qa/unittests/eeschema/test_lib_part.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue