aboutsummaryrefslogtreecommitdiff
path: root/test/fibo.go
AgeCommit message (Collapse)Author
2014-12-08Fix whitespace (use blanks consistently).Robert Griesemer
Change-Id: I73ecfe8f1e46e4821dafc6ed5788f48a1f0deeea Reviewed-on: https://go-review.googlesource.com/1213 Reviewed-by: Alan Donovan <adonovan@google.com>
2014-12-08test/fibo: a stand-alone bignum/allocation benchmark and testRobert Griesemer
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 This change was reviewed in detail as https://codereview.appspot.com/168480043 . Change-Id: I7c86d49c5508532ea6206d00f424cf2117d2fe41 Reviewed-on: https://go-review.googlesource.com/1211 Reviewed-by: Russ Cox <rsc@golang.org>