|
|
@wcout Thanks, Chris, this is a smart idea. However, although it would likely solve the issue at hand, i.e. in Fl_Tree and others using Fl_Simple_Terminal , it wouldn't fix the root cause which is in Fl_Text_Display . Recently I used a test program that loads a text file with about four million lines or even more into an Fl_Text_Display widget and I could observe its slowness if wrap mode is on which is the main cause of the slowness. I'm going to test this with either Greg's patch or my mods (WIP, see below) to see how much it can be improved.
FTR: I'm also working on a patch based on Greg's (@erco77's) latest version of your (@wcout's) patch. I'm thinking about the option Greg mentioned to switch the deferred calculation on (and off) in the user program because I'm concerned about backwards compatibility of unmodified programs - which means that the default would be off (non-deferred, or "direct"). I'll post more in a follow-up, but please don't hold your breath, I need some more time for testing.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/300/1222452039@github.com>
[ Direct Link to Message ] | |
|
| |