Are frozen Objects faster ?
kevin.gadd at gmail.com
Thu Feb 14 10:01:59 PST 2013
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
(I find this extremely unfortunate.)
On Thu, Feb 14, 2013 at 9:48 AM, Andrea Giammarchi
<andrea.giammarchi at gmail.com> wrote:
> If not, any particular reason these are not, being immutable and
> representable similar to a C struct ?
> If they could, any idea which engine is planning to optimize and when?
> Thanks and Best Regards
More information about the es-discuss