Re: More Ideas around DOM Constructors

On 11/20/09 2:04 PM, Jeff Schiller wrote:
> I was thinking that the actual DOM calling mechanism cost was not
> insignificant, seems I was mistaken.

It really depends on the browser, and in some browsers on the method 
(e.g. Gecko currently has two separate codepaths for DOM calls, one of 
which is a lot faster than the other at the cost of not being able to 
handle all calls).  And it might compare favorably with the cost of 
extracting things from the innards of a JS object....

Performance measurement is hard.  :(  Performance prediction even harder.


Received on Friday, 20 November 2009 19:42:20 UTC