I'm sorry Stephan, but you are wrong. Dynapi is not very optimized when it comes to creating layers. At all. I have an API which will be part of a cross-browser framework, which already is lightyears faster and more robust then DynAPI. Not to belittle DynAPI, as it was what got my started on the JS apps I'm developing now. I am not using inline layers at all, only dynamically writing layers in IE4+, and NS4+ and have plans of supporting Opera (yes it can be done) and Konqueror. Inline layers will be supported, but it's not a priority right now. Now for the current results: Creating 1000(!) layers with HTML and set properties, with a 600 mHz laptop in about: 4000 ms - IE5 9000 ms - IE4
Netscape is still to be optimized, but previous results were at about 20 seconds. ----- Original Message ----- From: "Stephan Tolksdorf" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Raymond Irving" <[EMAIL PROTECTED]> Sent: Friday, September 28, 2001 6:07 PM Subject: Re: [Dynapi-Dev] Speed Test! Does DynAPI Qualify? > Hello Raymond, > > > The long and short of it is that DynAPI really needs > > to do something about the speed at which layers are > > created and the amount of browser-resources to > > maintain a layer. > > when you say something is "slow" (which is always a relative value) > you also have to give some references. Slow in contrast to what? > > Layers in Dynapi are created dynamically, which means they are > inserted into the Browser's document object tree. This type of > operation does always take a bit time (it's the same with replacing > innerHTML), and if you compare Dynapi's implementation with the native > one you'll see that there's only a small overhead in the former. > If you want to see what "slow" means try the same example with > Netscape 4 ;-) > > If speed is more important than code size you could eventually speed > up the loading by using inline layers... but I wouldn't recommend it. > > Regards, > Stephan > > > _______________________________________________ > Dynapi-Dev mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dynapi-dev > _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-dev