Commit ed5fe67f authored by Committed by Kristian Rietveld
quit maintaining the iter on every iteration, only get the iter when we
2005-07-13 Kristian Rietveld <firstname.lastname@example.org> * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): quit maintaining the iter on every iteration, only get the iter when we are about to call the foreach_func. Gives us a 10x speedup, since maintaining iters is a lot more expensive than maintaining paths. We lose a bit of sanity checking though. Thanks go to Billy Biggs for pointing this out.
Showing with 37 additions and 32 deletions