When using bigInt().toString(2) and running benchmark comparisons with bigInt().toArray(2).value.join('') the performance is very significantly different. It might be possible to drastically improve the speed by simply using toArray() within toString().
When using bigInt().toString(2) and running benchmark comparisons with bigInt().toArray(2).value.join('') the performance is very significantly different. It might be possible to drastically improve the speed by simply using toArray() within toString().