Hacker News new | past | comments | ask | show | jobs | submit login

DOM element reference cacheing (and pooling) can significantly improve the responsiveness of very busy browser UI code (particularly in loops that make many DOM queries and/or updates) and can make the code more readable too, but be careful as you can create memory leaks especially in "classic" IE. Such leaks only tend to last as long as until the user navigates away, but they can become significant for single-page applications.



In many cases they can exist until the iexplore browser process terminates.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: