Hi,

When an object property is called, it is generally searched for in the 
named dictionary (and this can be seen on the gdb as well). However, after 
a certain number of times, the object is no longer searched for and there 
is optimization which takes care of this. For example,

var a = 1;
print(a); [Calls NameDictionary::FindKey]
print(a); [ditto]
.
.
print(a); [no call to NameDictionary::FindKey]

What are the optimizations behind this ? could you please point me to the 
code (Chromium base is a bit too big :) )

Thanks

Deepak Subramanian

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to