proposal for efficient 64-bit arithmetic without value objects

Olov Lassus olov.lassus at gmail.com
Wed Oct 30 09:28:23 PDT 2013


2013/10/30 Vyacheslav Egorov <me at mrale.ph>

> 5. A one shot property Math.H is created that returns ch' on the first
> access and deletes itself.
>

Alternative step 5: Math.H is assigned ch'.

Rationale being faster polyfilled execution, in combination with a lack of
imagination from my side to come up with a use case where any code would be
interested in knowing (at run-time) whether Math.H exists or not (i.e.
whether it has already been read). Does such a use case exist?

If all of JSC, Chakra, V8 et.al reliably optimizes away most overhead of a
polyfilled Math.H getter then perhaps this does not matter.

/Olov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20131030/549b1481/attachment.html>


More information about the es-discuss mailing list