> Allocating, filling, accessing and GC'ing the return object will take more time than calling the underlying C
That seems like the nail in the coffin for this suggestion. Thanks. I don't have anything to add. On Fri, Jun 23, 2017 at 9:34 AM, Florian Bösch <[email protected]> wrote: > On Thu, Jun 22, 2017 at 8:02 PM, Robert Poor <[email protected]> wrote: >> >> function sincos(theta) { >> return { sin: sin(theta), cos: cos(theta) }; >> } >> > > Allocating, filling, accessing and GC'ing the return object will take more > time than calling the underlying C library function which emits the machine > code for the processor to consult his trigonometric functions. >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

