OZONE Asylum
Forums
DHTML/Javascript
IE JS/DOM performance degradation weirdness
This page's ID:
27610
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[b]_Mauro[/b]: I'm swapping out pages and storing them "offscreen" in a Javascript object using replaceChild(). Thus, an offscreen page array contains a growing number of nodes which are then swapped back into the viewable area as needed (one page at a time.) I've tried calling window.CollectGarbage() after swapping DOM nodes to see if it would matter (it didn't) - so I suspect I may have to more actively delete objects. It would be nice to retain the off-screen objects (or at least, their states,) however - ie., not actively destroying the objects/data - because then I would have to re-fetch/create/initialize those objects depending on how much I destroyed. However, if this works around the problem for IE, maybe the "destroy-and-recreate" route is what I'll have to do until the cause of the slowdown is isolated.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »