Hi
open new tabs takes longer and there is a longer pause until i can open one more... also, close a tab is also slower. Interesting. Do you know how to use gprof?
Not really... i tried to take a quick look but at very least i need more research and examples to see if it's under my limited knowledge. But anyway, as yesterday i tried to bisect the dialog problem, i tried to do the same for this one... and found that the problem comes from the fltk... bisect it i found that fltk 1.3 revision 9023 makes the openning/close of the tabs slower in my machine. here is the 9023 commit: $ svn diff -c 9023 Index: src/fl_arci.cxx =================================================================== --- src/fl_arci.cxx (revision 9022) +++ src/fl_arci.cxx (revision 9023) @@ -77,6 +77,7 @@ if (w <= 0 || h <= 0) return; #if defined(USE_X11) + XDrawArc(fl_display, fl_window, fl_gc, x,y,w-1,h-1, int(a1*64),int((a2-a1)*64)); XFillArc(fl_display, fl_window, fl_gc, x,y,w-1,h-1, int(a1*64),int((a2-a1)*64)); #elif defined(WIN32) if (a1 == a2) return; Index: CHANGES =================================================================== --- CHANGES (revision 9022) +++ CHANGES (revision 9023) @@ -1,6 +1,7 @@ CHANGES IN FLTK 1.3.1 + - Fixed fl_pie() drawing too small on X11 (STR #2703) - Fixed Fl_Menu issue with unusual menu flags (STR #2680) - Fixed Windows DLL import of fl_xid() (STR #2670) Looks one more issue to present to fltk. Again, thanks for the help. higuita -- Naturally the common people don't want war... but after all it is the leaders of a country who determine the policy, and it is always a simple matter to drag the people along, whether it is a democracy, or a fascist dictatorship, or a parliament, or a communist dictatorship. Voice or no voice, the people can always be brought to the bidding of the leaders. That is easy. All you have to do is tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in every country. -- Hermann Goering, Nazi and war criminal, 1883-1946