@iden3/bigarray
v0.0.2
Published
Big Array object that allows to handle arrays with a huge number of elements.
Downloads
44,278
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);