]> Cypherpunks repositories - gostls13.git/commit
exp/norm: fix benchmark bug
authorRobert Griesemer <gri@golang.org>
Tue, 27 Sep 2011 01:23:21 +0000 (18:23 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 27 Sep 2011 01:23:21 +0000 (18:23 -0700)
commit9c643bb3fab4457c1a789e9aad75b5aaf7090753
tree3880f515b5a9f145f0748ea0fa4e6f07f3e24275
parentaeaa8171407675611b3d08f1d0950f72c0929ad1
exp/norm: fix benchmark bug

- don't use range over string to copy string bytes
- some code simplification

R=mpvl
CC=golang-dev
https://golang.org/cl/5144044
src/pkg/exp/norm/normalize_test.go