DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2409
Version: 1.3-feature


Update: I found I could shave off about 0.5 secs with the combo mods
mentioned (remove(int) mod + reversing the array). So about that much time
is spent shuffling the array.

When I first ran my tests, I didn't have the gettimeofday() call in there,
I just 'counted' how long it took with and without the mods. Since it took
'about 2 seconds' either way, I just posted my results.

But before I posted the code, I decided to add the gettimeofday() stuff in
there for it to be generally useful.

When I did that, I found there was about .5 secs (on my box) gain with the
remove(int)/reverse array optimizations to handle the 20k buttons.

So once the actual problem is fixed, that extra 0.7 secs can probably be
tuned out with the above mods.

So I think I'll at least post the remove(int) patch (without the array
reversal) since that'll probably be useful somehow anyway.


Link: http://www.fltk.org/str.php?L2409
Version: 1.3-feature

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to