in reply to Re: Re (tilly) 1: Fast Multiplication
in thread Fast Multiplication
Much slower.
In fact I don't need to look at Benchmark to immediately say that your algorithm is O($b), which is slow indeed.
Multiplication is slower than addition in a chip because general multiplication is a complex operation. That said, multiplication is implemented efficiently. Repeated addition is much, much worse than the general routine except for a small number of exceptions. (eg 0, 1, 2.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re (tilly) 3: Fast Multiplication
by zencrypt (Novice) on Jan 13, 2001 at 10:36 UTC |