Does anyone has experience/information about the performance of the array
elements assignment?
Specifically, which is more efficient:
var myArray = new Array(a, b, c, d);
or
var myArray = new Array();
myArray[] = a;
myArray[] = b;
myArray[] = c;
myArray[] = d;
Specifically, I'm talking about multi-dimensional arrays with, all together,
several thousand elements in them.
Berislav
elements assignment?
Specifically, which is more efficient:
var myArray = new Array(a, b, c, d);
or
var myArray = new Array();
myArray[] = a;
myArray[] = b;
myArray[] = c;
myArray[] = d;
Specifically, I'm talking about multi-dimensional arrays with, all together,
several thousand elements in them.
Berislav
Comment