Den 1. jan. 2011 16.06 skrev Stephan Beal <[email protected]>:

> On Sat, Jan 1, 2011 at 3:27 PM, Florian Schneider <[email protected]
> > wrote:
>
>> receiver and key seen, it is not a good idea to mix different types of
>> keys at the same access site.
>> ...
>> called map transition internally in V8. As a general rule, it is not a
>> good idea to have a store that may add a property inside a loop.
>>
>
> Jus to clarify: when you say "not a good idea," you mean only for
> performance reasons, right? There are no correctness issues with doing so,
> are there?
>
>

Yes, it works perfectly fine. - Just performance-wise not a good idea.

--Florian


> --
> ----- stephan beal
> http://wanderinghorse.net/home/stephan/
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
>

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

Reply via email to