Wednesday, 15 February 2012

c# - BigInteger bigger than the Long and Int? -


I'm doing a program that will use a large number, and for a little slow speed, too much Will work. And my question is, is that big injection is slow and slow slow?

  long number = 12; Bigentiary number 2 = 12; Add Public Zero () {number + = 1; } Public Zero add2 () {number2 + = 1; }  

Which is faster now?

Yes, type BigInteger is slow int or long time.

But in reality, with a large number, the integer calculation is a big intangare required .


No comments:

Post a Comment