good point - thanks.

On Wednesday, November 14, 2012 12:04:56 PM UTC, Matthias Ernst wrote:
>
> I would guess it's probably because True and False are pre-allocated 
> objects and this way the api avoids the overhead of allocating and tracking 
> new handles in a HandleScope, as small as this overhead is.
>
> On Wed, Nov 14, 2012 at 12:38 PM, David <[email protected] <javascript:>
> > wrote:
>
>> Why does v8::Boolean::New return a v8::Handle when v8::String::New, 
>> v8::Number::New and v8::Integer::New all return v8::Local ?
>>
>> Thanks.
>>
>> -- 
>> v8-users mailing list
>> [email protected] <javascript:>
>> http://groups.google.com/group/v8-users
>
>
>

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

Reply via email to