Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@iden3/bigarray

jbaylina70kGPL-3.00.0.2

Big Array object that allows to handle arrays with a huge number of elements.

bigarray, node, nodejs, memory, array

readme

bigarray

Array object for nodejs that Support millions of elements

usage

npm install bigarray
import BigArray from "@iden3/bigarray";

A = new BigArray(1000000);

for (let i=0; i<1000000; i++) {
    A.push({
        num: i;
        square: i*i;
    });
}

console.log(A[3].num * A[700000].square);