jackslocum.com— It doesn’t take any special coding skills or expertise. By following the easy steps above, even a novice can write JavaScript code that is leak free.
Oct 2, 2006View in Crawl 4
Personally, I think it _should_ be reasonable to expect the browser to clean up its JS memory. Why should a _scripting_ language be responsible for cleaning up after itself. Especially when the code will only operate on one instance of one page. Once that page is no longer being displayed or stored in memory, all associated objects (JS, CSS, etc etc) should be effectively purged. In any other case I would agree that cleaning up after yourself is very important. But this is a web page, not a native application.
I agree haxored, it shouldn't be our responsibility. But while it is, people need to take responsibility for their code. It is unacceptable for big corporations like Yahoo! (Yahoo Mail) or Google to not test their software or implement coding practices to eliminate leaks.
prockcoreOct 3, 2006
It doesn't seem like this is a real problem. The browser should clean up after itself onunload anyway.
jellygraphOct 3, 2006
his site is dog slow
haxoredOct 3, 2006
Personally, I think it _should_ be reasonable to expect the browser to clean up its JS memory. Why should a _scripting_ language be responsible for cleaning up after itself. Especially when the code will only operate on one instance of one page. Once that page is no longer being displayed or stored in memory, all associated objects (JS, CSS, etc etc) should be effectively purged. In any other case I would agree that cleaning up after yourself is very important. But this is a web page, not a native application.
jackslocumOct 3, 2006Submitter
I agree haxored, it shouldn't be our responsibility. But while it is, people need to take responsibility for their code. It is unacceptable for big corporations like Yahoo! (Yahoo Mail) or Google to not test their software or implement coding practices to eliminate leaks.
jackslocumOct 4, 2006Submitter