On Thursday, March 10, 2011 10:19:26 AM UTC+1, Stamen Georgiev wrote:
>
> Thanx for the detailed answers guys. 
>
> I'm aware that such optimizations doesn't really pay much in real life 
> situations. 
> My question was more about the "scientific" side on the topic :-) 


Then you will have to look at the source code, how these situations are 
handled - at least three of the major engines are open source.
But it probably has to do with context switches, heap vs stack, difference 
in time between reading variables from the Activation Object vs an object 
(which again is read from the AO) and so on..

Sean

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to