2013/10/30 Vyacheslav Egorov <m...@mrale.ph>

> > Rationale being faster polyfilled execution
>
> The main reason for H being one shot is to allow optimizing compiler
> *elide* updating it in most cases to eliminate memory traffic.
>

Aaah. Thanks for pointing this out - I thought only of the polyfill
performance so I neglected this key aspect of your proposal.


> After thinking about it a bit I propose the following alternative step 5:
>
> Math.H is from the very beggining a non-configurable non-writable
> accessor property with a getter that returns hidden inner value and
> always zeros inner value.
>

+1 (for now) :)

/Olov
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to