]> Cypherpunks repositories - gostls13.git/commit
pidigits: Remove TODO, minor improvements
authorEvan Shaw <chickencha@gmail.com>
Sun, 31 Oct 2010 03:16:44 +0000 (20:16 -0700)
committerRobert Griesemer <gri@golang.org>
Sun, 31 Oct 2010 03:16:44 +0000 (20:16 -0700)
commit5bf420f0c894fac193f50af990675012480c8677
treeae5132b0b9b51443a950da24ddd7dc18d6144c4c
parenta8c4da996e69fcab48186011bb517ca915ac5f58
pidigits: Remove TODO, minor improvements

I tried adding a Scale method to big.Int and it didn't make any noticeable
difference, so I'm removing my TODO.

Also got rid of a few obvious allocations that I missed earlier for a modest
improvement (~5%).

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/2711043
test/bench/pidigits.go