1. 18 Oct, 2015 2 commits
    • Michael Hudson-Doyle's avatar
      cmd/internal/obj, runtime: add NOFRAME flag to suppress stack frame set up on ppc64x · 45c06b27
      Michael Hudson-Doyle authored
      Replace the confusing game where a frame size of $-8 would suppress the
      implicit setting up of a stack frame with a nice explicit flag.
      
      The code to set up the function prologue is still a little confusing but better
      than it was.
      
      Change-Id: I1d49278ff42c6bc734ebfb079998b32bc53f8d9a
      Reviewed-on: https://go-review.googlesource.com/15670Reviewed-by: default avatarMinux Ma <minux@golang.org>
      45c06b27
    • Justin Nuß's avatar
      mime: Remove an allocation in word decoding. · d0c9b409
      Justin Nuß authored
      This fixes a TODO in (*WordDecoder).Decode by replacing a call to strings.Split with
      simple prefix/suffix checking and some custom slicing.
      
      Benchmark results:
      
      benchmark                    old ns/op     new ns/op     delta
      BenchmarkQEncodeWord-8       740           693           -6.35%
      BenchmarkQDecodeWord-8       1291          727           -43.69%
      BenchmarkQDecodeHeader-8     1194          767           -35.76%
      
      benchmark                    old allocs     new allocs     delta
      BenchmarkQEncodeWord-8       1              1              +0.00%
      BenchmarkQDecodeWord-8       3              2              -33.33%
      BenchmarkQDecodeHeader-8     3              2              -33.33%
      
      benchmark                    old bytes     new bytes     delta
      BenchmarkQEncodeWord-8       48            48            +0.00%
      BenchmarkQDecodeWord-8       128           48            -62.50%
      BenchmarkQDecodeHeader-8     128           48            -62.50%
      
      Change-Id: I2d6844c75ec2e2b79be2e49b7fc4ca320b7e84e5
      Reviewed-on: https://go-review.googlesource.com/14432Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      d0c9b409
  2. 17 Oct, 2015 4 commits
  3. 16 Oct, 2015 9 commits
  4. 15 Oct, 2015 6 commits
  5. 14 Oct, 2015 9 commits
  6. 13 Oct, 2015 5 commits
  7. 12 Oct, 2015 4 commits
  8. 11 Oct, 2015 1 commit