When is it appropriate to use String::NewSymbol() rather than
String::New()?  I assume that symbols are mainly for oft-reused
property names; is this correct?  Is obj-
>Set(String::NewSymbol('foo'), value) somehow more efficient than obj-
>Set(String::New('foo'), value)?

Is a Symbol effected differently by the current HandleScope?  I often
see people using Persistent symbols for property names and event
identifiers; is this internally more efficient than using string
values?

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to