阅读背景:

在Javascript(V8)中,为什么数组上的forEach比简单的for循环消耗更多的内存?

来源:互联网 

I'm performing some simple data validation on a large set of data in Node.js (version v7.5.0, with a matrix of 15849x12771 entries). The entire data set is in memory for now, for performance reasons. Therefore it is critical for me to reduce the amount of memory consumed to a theoretical minimum (each number representing 8 bytes in JS).I'm performing some simple data validation on a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: