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 |