On 01/04/12 12:52, David wrote: > Le 04/01/2012 21:44, Greg Ercolano a écrit : >> Ya, looks like it's spending a lot of time calling find_child(). >> >> Apparently I never bothered to implement pointers to keep track >> of 'next' and 'last' to speed up walking the tree. >> >> Will follow up with a fix for that too.. > > Here a simple patch (I miss the Tree Item array swap for updating > _next_sibling and maybe somewhere else but the test case works) > I have not done the prev_sibling optimization. > > May be, the other David can test it if it helps. >
Thanks David, I'll take a look at your patch. I ran out of time to work on it today due to work, but will try to find some time tonight. _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk