]> Cypherpunks repositories - gostls13.git/commit
big: eliminate redundant array lookups
authorEvan Shaw <chickencha@gmail.com>
Wed, 21 Apr 2010 04:41:58 +0000 (21:41 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 21 Apr 2010 04:41:58 +0000 (21:41 -0700)
commite4136fe91c96cecb7d5c4f4be98a4fedd646705d
tree26673f7dc3ba6fa709e05dc411ff4c6141dc0f52
parent4f445d2744337bd0565c8e8eb1523f512a180d4e
big: eliminate redundant array lookups

This gives about a 6% performance improvement to pidigits.
Thanks to Russ for the suggestion.

R=rsc, gri
CC=golang-dev
https://golang.org/cl/957041
src/pkg/big/nat.go