Re: [racket-dev] racket/gui performance problem when using lots of items in table-panels

2012-11-09 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19-07-12 16:59, Marijn wrote: > Hi, > > I've been having some performance problems when using lots of items > in table-panels[1]. Switching tabs when running the following > example exhibits the problem. Can anything be done about it? So it seems

Re: [racket-dev] racket/gui performance problem when using lots of items in table-panels

2012-07-20 Thread Doug Williams
Matthew might be able to shed some light on it. But, I suspect you'd have similar performance regardless of the container used. On Fri, Jul 20, 2012 at 1:36 AM, Marijn wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 19-07-12 17:08, Doug Williams wrote: >> I think the problem is th

Re: [racket-dev] racket/gui performance problem when using lots of items in table-panels

2012-07-20 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19-07-12 17:08, Doug Williams wrote: > I think the problem is the time it takes to create 600 buttons in > this case, not the time needed to switch between the tabs. I'm not > sure why you are recreating them each refresh. Am I missing > something?

Re: [racket-dev] racket/gui performance problem when using lots of items in table-panels

2012-07-19 Thread Doug Williams
Here is an example of 30 x 20 buttons on a table-panel in a tab panel that doesn't recreate the buttons and it changes between tabs without much delay. #lang racket/gui (require (planet williams/table-panel/table-panel)) (define frame (instantiate frame% ("Test"))) (define tab-panel (in

Re: [racket-dev] racket/gui performance problem when using lots of items in table-panels

2012-07-19 Thread Doug Williams
I think the problem is the time it takes to create 600 buttons in this case, not the time needed to switch between the tabs. I'm not sure why you are recreating them each refresh. Am I missing something? Doug On Thu, Jul 19, 2012 at 8:59 AM, Marijn wrote: > -BEGIN PGP SIGNED MESSAGE- > H

[racket-dev] racket/gui performance problem when using lots of items in table-panels

2012-07-19 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've been having some performance problems when using lots of items in table-panels[1]. Switching tabs when running the following example exhibits the problem. Can anything be done about it? Marijn #lang racket/gui ;(require (planet williams/t