0.0.2 • Published 11 years ago

bigforeach v0.0.2

Weekly downloads
9
License
-
Repository
-
Last release
11 years ago

BigForEach.js

BigForEach is a wrapper for Async.forEach. When working with large data sets, Async.forEach runs into performance, memory, and stack size problems. BigForEach is an attempt to tackle these issues. It's syntax is the same as Async.forEach. When using Async.forEach on large arrays (~1,000,000 or more), node tends to run out of memory. BigForEach simply utilizes a divide and conquer strategy to prevent memory issues. As an added bonus, due to the decreased stack size, performance is vastly improved. Using the included test script, performance gains exceeding 100% are observed.

0.0.2

11 years ago

0.0.1

11 years ago