In poking around in process.cc I have noticed that two different
expressions are used to return nothing:

        return v8::Undefined();

        return v8::Handle<v8::Value>();

The second form, while more verbose, looks more efficient because the
constructor is inlined and trivial.

v8::Undefined() returns a Handle<Primitive>
Its implementation looks more complex.

It there any reason to use v8::Undefined()?

-- 
Bryan White

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

Reply via email to