No noticeable improvement.
As said before, I can see deselect improvement with the following change: diff --git a/gschem/src/o_select.c b/gschem/src/o_select.c index baefa4e..a8cf627 100644 --- a/gschem/src/o_select.c +++ b/gschem/src/o_select.c @@ -532,6 +532,7 @@ void o_select_unselect_all(GSCHEM_TOPLEVEL *w_current) { TOPLEVEL *toplevel = w_current->toplevel; o_select_run_hooks( w_current, NULL, 2 ); + o_invalidate_glist( w_current, toplevel->page_current->selection_list->glist ); o_select_unselect_list( w_current, toplevel->page_current->selection_list ); }
I'll try to do some profiling.
No noticeable improvement.
As said before, I can see deselect improvement with the following change: src/o_select. c b/gschem/ src/o_select. c src/o_select. c src/o_select. c unselect_ all(GSCHEM_ TOPLEVEL *w_current) >toplevel; run_hooks( w_current, NULL, 2 ); >page_current- >selection_ list->glist ); unselect_ list( w_current, toplevel- >page_current- >selection_ list );
diff --git a/gschem/
index baefa4e..a8cf627 100644
--- a/gschem/
+++ b/gschem/
@@ -532,6 +532,7 @@ void o_select_
{
TOPLEVEL *toplevel = w_current-
o_select_
+ o_invalidate_glist( w_current, toplevel-
o_select_
}
I'll try to do some profiling.