Re: [Fxruby-users] Dialogues, and create.
Status: Inactive
Brought to you by:
lyle
|
From: Hugh S. S. E. E. <hg...@dm...> - 2003-07-03 16:01:17
|
On Thu, 3 Jul 2003, Lyle Johnson wrote:
> 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.
Thank you, that is reassuring.
>
> 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,
That seems reasonable, and better than what I was considering:
constructing them all at the start, doing the one create() call, and
hiding most of them.
> 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 ;)
Yes :-) I still admire what people did with 32K though!
>
>
Thank you,
Hugh
|