@iden3/bigarray

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

Usage no npm install needed!

<script type="module">
  import iden3Bigarray from 'https://cdn.skypack.dev/@iden3/bigarray';
</script>

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);