Are frozen Objects faster ?
Mark S. Miller
erights at google.com
Thu Feb 14 10:10:37 PST 2013
On Thu, Feb 14, 2013 at 10:09 AM, Herby Vojčík <herby at mailbox.sk> wrote:
>
>
> Kevin Gadd wrote:
>
>> Frozen and sealed objects are both dramatically slower in most JS
>> engines I've tested. In the ones where they're not dramatically slower
>> they are never faster.
>>
>> The last time I asked on the mozilla and v8 bug trackers I was
>> informed that there is no plan to optimize for these features and that
>> the design of the respective JS engines would make such optimizations
>> difficult anyway.
>>
>> (I find this extremely unfortunate.)
>>
>
> I, on the other hand, find it fortunate. Otherwise, some people would
> prematurely freeze objects to gain speed. It would be same
> <del>disaster</del> akwardness as v8 did with removing `delete` in favour
> of `= null`.
>
What are you referring to? What 'delete' was removed?
>
> Herby
>
> -kg
>>
>
> ______________________________**_________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/**listinfo/es-discuss<https://mail.mozilla.org/listinfo/es-discuss>
>
--
Cheers,
--MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130214/99f79eb7/attachment.html>
More information about the es-discuss
mailing list