[OT] Code Review

Dennis Muhlestein devel at muhlesteins.com
Fri Aug 8 17:38:42 MDT 2008


>
> Large integer multiplication?

I think the sum/carry variables gives it away.  I should have renamed
those too.  Actually, it wasn't that obfuscated.  I just thought it
was sort of clever to do the sum diagonally instead of padding a
larger than necessary matrix with zeros.

On a side note though, for real large integers, there are faster ways
to do this.  Plain old long multiplication is faster in the 20-200
digit range.  There are some specialized methods for 200+ digit
numbers.

-Dennis



More information about the PLUG mailing list