aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/string.c
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-06-16 18:00:28 -0700
committerRui Ueyama <ruiu@google.com>2014-06-16 18:00:28 -0700
commit38eea5b2ad6a6bf108cf4445506559118e34d782 (patch)
treea68e16f2d6a873c08d74eb48caab7ee265dc84f2 /src/pkg/runtime/string.c
parent60c0b3b5cf89c8054328e27d7ee58da79a12999e (diff)
downloadgo-38eea5b2ad6a6bf108cf4445506559118e34d782.tar.xz
net: avoid array copy when shuffling SRV records
We don't need to shift array elements to shuffle them. We just have to swap a selected element with 0th element. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/91750044
Diffstat (limited to 'src/pkg/runtime/string.c')
0 files changed, 0 insertions, 0 deletions