From: Pascal B. <pb...@oi...> - 2000-12-06 08:50:16
|
There's a way to solve it, using caching.. this is not yet implemented in the current code but it shouldn't be that hard to perform. You should change the code so that treenodes are not created by default (only the top visible level) and once a node expands check to see if the child nodes are created, if not.. create those dynlayers at that point That should give a huge speed increase, but requires some coding :) Pascal Bestebroer pb...@oi... http://www.oibv.com -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens Doug Melvin Verzonden: woensdag 6 december 2000 9:47 Aan: dynapi-help Onderwerp: [Dynapi-Help] SkinTreeNode: slowwww.. I am currently loading 310 nodes in total.. and it's VERY slow.. is there any way that it can be sped up? is there anything I can discard? only need to be able to add nodes, expand and collapse nodes, and click in a node itself (<a href=... in title?). it takes about 15 seconds to render (and the boss want under 10) System: Windows 98 AMD Duron 600 mhz 128 Megs pc100 RAM Thank you, Doug Melvin Integrated System Solutions: Design, Development, Implementation and Support Creative-Workshop.com |
From: Doug M. <do...@cr...> - 2000-12-06 09:14:14
|
Thank you for your suggestion.. Now that you mention it, that should = indeed do the trick! Thank you, Doug Melvin Integrated System Solutions: Design, Development, Implementation and = Support Creative-Workshop.com ----- Original Message -----=20 From: Pascal Bestebroer=20 To: dyn...@li...=20 Sent: Wednesday, December 06, 2000 12:49 AM Subject: RE: [Dynapi-Help] SkinTreeNode: slowwww.. There's a way to solve it, using caching.. this is not yet implemented = in the current code but it shouldn't be that hard to perform. You = should change the code so that treenodes are not created by default = (only the top visible level) and once a node expands check to see if the = child nodes are created, if not.. create those dynlayers at that point That should give a huge speed increase, but requires some coding :) Pascal Bestebroer=20 pb...@oi...=20 http://www.oibv.com=20 -----Oorspronkelijk bericht----- Van: dyn...@li... = [mailto:dyn...@li...]Namens Doug Melvin Verzonden: woensdag 6 december 2000 9:47 Aan: dynapi-help Onderwerp: [Dynapi-Help] SkinTreeNode: slowwww.. I am currently loading 310 nodes in total.. and it's VERY slow.. is there any way that it can be sped up? is there anything I can = discard? only need to be able to add nodes, expand and collapse nodes, and = click in a node itself (<a href=3D... in title?). it takes about 15 seconds to render (and the boss want under 10) System: Windows 98 AMD Duron 600 mhz 128 Megs pc100 RAM Thank you, Doug Melvin Integrated System Solutions: Design, Development, Implementation and = Support Creative-Workshop.com |
From: Doug M. <do...@cr...> - 2000-12-06 12:14:25
|
An other option as I see it would be to hold an array of 'records' in my = main program and load the treenodes from the data in said records when the record's = parent node is expanded... Again, looking for direction.. Thanks, Doug Melvin ----- Original Message -----=20 From: Doug Melvin=20 To: dyn...@li...=20 Sent: Wednesday, December 06, 2000 4:12 AM Subject: Re: [Dynapi-Help] SkinTreeNode: slowwww.. Thank you for your suggestion.. Now that you mention it, that should = indeed do the trick! Thank you, Doug Melvin Integrated System Solutions: Design, Development, Implementation and = Support Creative-Workshop.com ----- Original Message -----=20 From: Pascal Bestebroer=20 To: dyn...@li...=20 Sent: Wednesday, December 06, 2000 12:49 AM Subject: RE: [Dynapi-Help] SkinTreeNode: slowwww.. There's a way to solve it, using caching.. this is not yet = implemented in the current code but it shouldn't be that hard to = perform. You should change the code so that treenodes are not created = by default (only the top visible level) and once a node expands check to = see if the child nodes are created, if not.. create those dynlayers at = that point That should give a huge speed increase, but requires some coding :) Pascal Bestebroer=20 pb...@oi...=20 http://www.oibv.com=20 -----Oorspronkelijk bericht----- Van: dyn...@li... = [mailto:dyn...@li...]Namens Doug Melvin Verzonden: woensdag 6 december 2000 9:47 Aan: dynapi-help Onderwerp: [Dynapi-Help] SkinTreeNode: slowwww.. I am currently loading 310 nodes in total.. and it's VERY slow.. is there any way that it can be sped up? is there anything I can = discard? only need to be able to add nodes, expand and collapse nodes, and = click in a node itself (<a href=3D... in title?). it takes about 15 seconds to render (and the boss want under 10) System: Windows 98 AMD Duron 600 mhz 128 Megs pc100 RAM Thank you, Doug Melvin Integrated System Solutions: Design, Development, Implementation = and Support Creative-Workshop.com |
From: Scott A. L. <sc...@sc...> - 2000-12-06 18:21:41
|
I think your problem is IE-specific. IE seems to evaluate all JS before it renders to the screen. Netscape evaluates JS and renders simulataneously, so you get smoother animation and faster screen load than in IE. The more DynLayers you have, the longer it will take IE to display them. You can save time by only rendering the tree nodes you need displayed, and only rendering child nodes when their parent node is opened. -- scott andrew lepera ----------------------------------- web stuff: www.scottandrew.com music stuff: www.walkingbirds.com |
From: Doug M. <do...@cr...> - 2000-12-06 12:11:09
|
And now.. I must admit defeat.. I just don't have the experience with = Jscrip objects to whip this one outta my ear as usual.. so.. how about = some tips/hints as to how I can accomplish this? I'm thinking that I need to off-load a whole bunch of the initialization = of the TreeSkinNode into and INIT() method. and then call this init method the first time that the = object's Repaint() method is called.. I'm just not sure _WHAT_ to offload.... Still plugging at it.. Doug Melvin ----- Original Message -----=20 From: Doug Melvin=20 To: dyn...@li...=20 Sent: Wednesday, December 06, 2000 4:12 AM Subject: Re: [Dynapi-Help] SkinTreeNode: slowwww.. Thank you for your suggestion.. Now that you mention it, that should = indeed do the trick! Thank you, Doug Melvin Integrated System Solutions: Design, Development, Implementation and = Support Creative-Workshop.com ----- Original Message -----=20 From: Pascal Bestebroer=20 To: dyn...@li...=20 Sent: Wednesday, December 06, 2000 12:49 AM Subject: RE: [Dynapi-Help] SkinTreeNode: slowwww.. There's a way to solve it, using caching.. this is not yet = implemented in the current code but it shouldn't be that hard to = perform. You should change the code so that treenodes are not created = by default (only the top visible level) and once a node expands check to = see if the child nodes are created, if not.. create those dynlayers at = that point That should give a huge speed increase, but requires some coding :) Pascal Bestebroer=20 pb...@oi...=20 http://www.oibv.com=20 -----Oorspronkelijk bericht----- Van: dyn...@li... = [mailto:dyn...@li...]Namens Doug Melvin Verzonden: woensdag 6 december 2000 9:47 Aan: dynapi-help Onderwerp: [Dynapi-Help] SkinTreeNode: slowwww.. I am currently loading 310 nodes in total.. and it's VERY slow.. is there any way that it can be sped up? is there anything I can = discard? only need to be able to add nodes, expand and collapse nodes, and = click in a node itself (<a href=3D... in title?). it takes about 15 seconds to render (and the boss want under 10) System: Windows 98 AMD Duron 600 mhz 128 Megs pc100 RAM Thank you, Doug Melvin Integrated System Solutions: Design, Development, Implementation = and Support Creative-Workshop.com |
From: Raymond S. <dst...@or...> - 2000-12-06 09:16:37
|
One problem with the example (IE) is using "scroll" as a name of the = scroll widget. scroll =3D new ScrollPane(label1) // label1 will be set as the content scroll.setSize(150,150) scroll.moveTo(250,50) scroll.setBgColor('#c0c0c0') Changing scroll to birdwacker will at least allow the window to form. = Still has problems through. DS |