Re: [Fxruby-users] Dialogues, and create.
Status: Inactive
Brought to you by:
lyle
|
From: Lyle J. <jl...@cf...> - 2003-07-03 15:53:59
|
Hugh Sasse Staff Elec Eng wrote: > So these GUIs are pretty efficient then. So do people tend to just > use show and hide then, and just let normal garbage collection take > its course? Maybe the effort isn't worth it now, and I should > forget habits about tight memory budgets picked up in the 1980's! Yes, the GUIs are quite efficient (IMO). One of the pathological cases that we had for awhile here at work was an application that built up its GUI dynamically (based on the contents of a configuration file) and for some cases was constructing thousands and thousands of widgets. Despite that unusually large size, it was still pretty responsive and so forth. Widgets are very quick to construct and destroy, and don't seem to use that much memory. In C++-based FOX applications it's standard practice to just construct dialog boxes (e.g. file dialogs) as temporary objects, on the stack. We never used to do that in older Motif applications because it was so slow. As you noted, times (and memory constraints) have changed a lot since the 80's ;) |