Math.minmax

Xavier Stouder xavier at stouder.io
Wed Jul 5 12:34:41 UTC 2017


The result is not so obvious on V8 (x0.9 on 2 numbers and x2 improvement for
1000 and 100000 numbers).

 

It would be helpful, for example, in the case of system monitoring. A friend
of mine receives raw datas and he regularly needs to get min and max to
handle those datas. 

He could do that with both min and max, but he clearly told me that when
he's working with one year of QoS datas, x2 improvement can't be ignored.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170705/ae094274/attachment.html>


More information about the es-discuss mailing list