1. 17 Jun, 2014 3 commits
    • Keith Randall's avatar
      runtime: implement string ops in Go · 61dca94e
      Keith Randall authored
      Also implement go:nosplit annotation.  Not really needed
      for now, but we'll definitely need it for other conversions.
      
      benchmark                 old ns/op     new ns/op     delta
      BenchmarkRuneIterate      534           474           -11.24%
      BenchmarkRuneIterate2     535           470           -12.15%
      
      LGTM=bradfitz
      R=golang-codereviews, dave, bradfitz, minux
      CC=golang-codereviews
      https://golang.org/cl/93380044
      61dca94e
    • Keith Randall's avatar
      runtime: implement eqstring in assembly. · b36ed905
      Keith Randall authored
      BenchmarkCompareStringEqual               10.4          7.33          -29.52%
      BenchmarkCompareStringIdentical           3.99          3.67          -8.02%
      BenchmarkCompareStringSameLength          9.80          6.84          -30.20%
      BenchmarkCompareStringDifferentLength     1.09          0.95          -12.84%
      BenchmarkCompareStringBigUnaligned        75220         76071         +1.13%
      BenchmarkCompareStringBig                 69843         74746         +7.02%
      
      LGTM=bradfitz, josharian
      R=golang-codereviews, bradfitz, josharian, dave, khr
      CC=golang-codereviews
      https://golang.org/cl/105280044
      b36ed905
    • Rui Ueyama's avatar
      net: avoid array copy when shuffling SRV records · 38eea5b2
      Rui Ueyama authored
      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
      38eea5b2
  2. 16 Jun, 2014 3 commits
  3. 14 Jun, 2014 3 commits
  4. 13 Jun, 2014 11 commits
  5. 12 Jun, 2014 15 commits
  6. 11 Jun, 2014 5 commits