[Geany-devel] Speed up & simplify stash tree display/update
dimitar.zhekov at xxxxx
Tue Oct 18 17:31:21 UTC 2011
Now that StashTreeValue has an entry pointer, value->setting_type and
value->key_name can be dropped.
Also, the stash_tree_action:_get_iter_first, _iter_next should be
written as gtk_tree_model_foreach(model, stash_tree_handle_pref,
action). It's ~15% slower, but that doesn't matter any more.
And of course, stash_foreach_various_pref can be inlined into
stash_tree_setup, and call stash_tree_append_pref directly, or
even inline it too.
More information about the Devel