Hi,

I just made a really simple benchmark:

var d = new Date;
/* Prototype 1.6.0.1 entire source code */
alert(new Date - d);

On my macbook it alerts (in milliseconds) :
  6 in Safari 3
  12-13 in Firefox 2
  12-20 in Opera 9

Is Prototype initialization a bottle-neck ?
I definitely don't think so...

Samuel


Le 26 janv. 08 à 19:04, Tobie Langel a écrit :

>
>> I haven't looked deep enough into the
>> code that Prototype executes to extend even those empty elements, but
>> maybe ignoring those elements in that code will shave some time off  
>> of
>> Prototype's initialization.
>
> Prototype initialization certainly isn't a bottle-neck. Probably 2-3
> ms at most.
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to