Descriptiontest/fibo: a stand-alone bignum/allocation benchmark and test
Usage:
fibo <n> compute fibonacci(n), n must be >= 0
fibo -bench benchmark fibonacci computation (takes about 1 min)
Additional flags:
-half add values using two half-digit additions
-opt optimize memory allocation through reuse
-short only print the first 10 digits of very large fibonacci numbers
Patch Set 1 #Patch Set 2 : diff -r e45c4110ec9029d33de2293c4cad7b3bb0f26224 https://code.google.com/p/go/ #Patch Set 3 : diff -r e45c4110ec9029d33de2293c4cad7b3bb0f26224 https://code.google.com/p/go/ #
Total comments: 18
Patch Set 4 : diff -r d51282ff68c07a45b8523edc417359decdd1c45f https://code.google.com/p/go/ #
Total comments: 4
Patch Set 5 : diff -r fba0ff340b229672f1013d3dca6c7280fe6dcd36 https://code.google.com/p/go/ #MessagesTotal messages: 7
|