W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2000

Interesting thought

From: Pravin Goel <pgoel@peoplemoverinc.com>
Date: Tue, 29 Feb 2000 11:31:04 -0800
Message-ID: <77FB1FD98CC4D31183D300C04F1099D3031037@MALONE>
To: www-dom@w3.org
If we could use DOM to uncomment javascript code, it could lead to high
performance gains at the browser end. Let me elaborate.
function performAction()
{
   use DOM to uncomment performActionCore();
   performActionCore();
}

function performActionCore()
{
/*
lots of JS coding, all commented

*/
}

This would amount to implementing loading Javascript On-demand! Any furthur
thoughts??
Received on Tuesday, 29 February 2000 14:32:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:47 GMT