Thanks, that's helpful.

The results I get range from a 2x improvement for 2 numbers, to a 3x
improvement for 1000 numbers (both 100K number examples get me a RangeError
in Safari).

What concrete use cases are possible with the performance of minmax that
aren't possible with a separate min and max?

On Tue, Jul 4, 2017 at 4:13 PM, Xavier Stouder <[email protected]> wrote:

> You can run three tests here : https://esbench.com/bench/
> 595c1b1899634800a03488b9
>
> Running minMax polyfill and min max with two instructions on 2, 1000 or
> 100000 numbers.
>
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to