Lisp HUG Maillist Archive

switchable-layout performance on LWW

Hi,

I'm making heavy use of a switchable-layout in an application, and it works very smoothly on Mac OS X! On Windows, however, the switching is very slow, and it takes a noticeable time to switch page – in fact it looks like the page is "being constructed" as you watch, with the components appearing one at a time.

The switchable-layout is used in an "inspector", i.e. it switches all the time when the user selects objects. Therefore the slow switching is quite annoying. Does anyone have any tips for speeding up this process? Or is switchable-layout not the right way to go in this case?

Regards
Erik


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Re: switchable-layout performance on LWW

... just my 2cents, but I think you will find that speed of graphical operations is greatly enhanced when you can do all rendering in a RAM buffer, and just BLIT it to the screen when finished. That's true whether drawing graphs, GUI's, or anything else that needs to involve the video display. And this holds for all systems that I am aware of (Windows, Linus, OS X, others?)

- DM


On Nov 17, 2013, at 16:58 PM, Erik Ronström <erik.ronstrom@doremir.com> wrote:


Hi,

I'm making heavy use of a switchable-layout in an application, and it works very smoothly on Mac OS X! On Windows, however, the switching is very slow, and it takes a noticeable time to switch page – in fact it looks like the page is "being constructed" as you watch, with the components appearing one at a time.

The switchable-layout is used in an "inspector", i.e. it switches all the time when the user selects objects. Therefore the slow switching is quite annoying. Does anyone have any tips for speeding up this process? Or is switchable-layout not the right way to go in this case?

Regards
Erik


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html



Dr. David McClain
dbm@refined-audiometrics.com



Updated at: 2020-12-10 08:34 UTC