Comment 10 for bug 708388

Revision history for this message
Krzysztof Kościuszkiewicz (k-kosciuszkiewicz) wrote :

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.