Adding BigInts to V8
> That’s exactly how V8 multiplies BigInts: one digit at a time, adding up the intermediate results. The algorithm works just as well for 0 to 9 as it does for a BigInt’s much bigger digits.<p>Why not use a faster algorithm, like the Karatsuba algorithm[1] or the Toom-Cook[2] algorithm?<p>[1] <a href="https://en.wikipedia.org/wiki/Karatsuba_algorithm" rel="nofollow">https://en.wikipedia.org/wiki/Karatsuba_algorithm</a><p>[2] <a href="https://en.wikipedia.org/wiki/Toom–Cook_multiplication" rel="nofollow">https://en.wikipedia.org/wiki/Toom–Cook_multiplication</a>