Factorial, Toom Cook 4, Parallel Programming, Threads

Threading should be quite easy with C#, it is. An intro:
Parallel Programming in .NET Framework 4: Getting Started

My system has four cores, so I used a parallel version of
Karatsuba, Toom Cook 2, "TC2P", to start up three threads.
The factorial code is from Luschny. Result: 1000000! in 15 seconds

No comments:

Post a Comment