Florian Bösch pyalot at
Thu Jun 29 08:19:45 UTC 2017

>    - Improve performance
I doubt that this sequence of calls:

min = Math.min(min, value)
max = Math.max(max, value)

Is slower than this:

[min,max] = Math.minmax([min,max,value])

 Because while the former can get inlined by JIT, the latter can't, and on
top, it allocates 2 objects which then have to be GC'ed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list