in reply to Re^2: how to speed up program dealing with large numbers?
in thread how to speed up program dealing with large numbers?

The moral of this story is that an expensive algorithm can kill the performance of anything. :)

I suggest taking a look at An informal introduction to O(N) notation, and Big-O Notation - What is it good for?

  • Comment on Re^3: how to speed up program dealing with large numbers?