Tag: neural networks

High Performance JavaScript – Array Creation & Population

JavaScript Arrays Arrays in JavaScript are very easy to use and there are some simple tricks to make them perform at peak efficiency.  Testing shows that the recommended standard method for declaring arrays in JavaScript ( var a = [];) has pretty poor performance when compared to using the less popular alternative ( var a = new Array(100);). Most people argue that the performance difference is negligible and the benefits of the standard method… Read more →