> > > - 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.
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

