From: Robert R. <rra...@ya...> - 2000-11-05 07:24:40
|
> Hey I just threw this into my files fired up Netscape opened up the gui.menulist, and > resized away...Yeah!!! the layers are recreated....but if I keep doing over and over, > the redraw of the layers slow down, until at about the 10th time it stops redrawing, > is the recreateall, reusing the previous layers or creating new ones? if it is > creating new ones could it be the old ones are not being killed off and hence the > slowdown and freeze as you clog the browser with layers > > If you reload or move to a new page and back everything is fine so hopefully, for now > users won't resize 10 times while on the same page :-) Recreateall does actually recreate the layers in Netscape. And the function that is used, createElement, could probaly use some more optimization. A lot of it could just be a Netscape memory allocation thing, too. But, I see several places that the dynlayer can be fixed so that the creation will speed up. Hopefully I fix some of these early next week and post them. I haven't really tested my update to much, but hopefully someone will find some optimizations as well. \\Robert -- |