in reply to Re^2: how to multiply an array of number as fast as posible
in thread how to multiply an array of number as fast as posible

What performance boost could you possibly get? The CPU is already working at 100% calculating the number. That's why threads makes no sense in this case.

Ahem! From the OP.

i have a dual core proc

If he decided to calculate this in arbitrary precision, using both his CPU's would make a huge difference.

  • Comment on Re^3: how to multiply an array of number as fast as posible

Replies are listed 'Best First'.
Re^4: how to multiply an array of number as fast as posible
by ikegami (Patriarch) on Sep 02, 2010 at 16:47 UTC
    I am under the impression that Perl threads are bound to one CPU. Is that wrong?
      I am under the impression that Perl threads are bound to one CPU. Is that wrong?

      Yes. That is wrong.

      Perl's threads are kernel threads, and kernel threads run on any available cpu.