1. 27 Oct, 2016 7 commits
    • Andrew Gerrand's avatar
      doc: s/race/ethnicity/ in the Code of Conduct · 645e984f
      Andrew Gerrand authored
      As agreed upon by the Code of Conduct working group, "race" may refer to
      an attempt to classify people based on "defining characteristics",
      regardless of how this people view themselves, while "ethnicity" refers
      to how people identify themselves.
      
      The Code of Conduct working group believes that the term "ethnicity"
      will be more comprehensive and inclusive, and will better serve the Go
      community.
      
      Change-Id: I724b72cadb8cf29b4bac8f83017b0303feae3c94
      Reviewed-on: https://go-review.googlesource.com/32133Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
      645e984f
    • Chris McGee's avatar
      net: add multicast UDP support for plan9 · e4820bcf
      Chris McGee authored
      The new implementation adds listening support on a multicast
      address with plan9 network interfaces.
      
      Fixes #17218
      
      Change-Id: I2c75515e72e120acb71610cd077fddfbf9cf4e29
      Reviewed-on: https://go-review.googlesource.com/29964Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
      Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      e4820bcf
    • Josh Bleecher Snyder's avatar
      cmd/compile: remove Label type · a7c84668
      Josh Bleecher Snyder authored
      With the removal of the old backend,
      a Label is just a Node.
      
      Passes toolstash -cmp.
      
      Change-Id: Ia62cb00fbc551efb75a4ed4dc6ed54fca0831dbf
      Reviewed-on: https://go-review.googlesource.com/32216
      Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
      Reviewed-by: 's avatarMatthew Dempsky <mdempsky@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      a7c84668
    • Josh Bleecher Snyder's avatar
      cmd/compile: use List instead of OKEY for OSLICE* · d6dbf3a0
      Josh Bleecher Snyder authored
      Performance changes are negligible, but that's expected.
      This is a part of a general effort to eliminate OKEY nodes.
      
      Passes toolstash -cmp.
      
      Updates #15350
      
      name       old alloc/op     new alloc/op     delta
      Template       40.6MB ± 0%      40.6MB ± 0%  -0.04%         (p=0.000 n=9+10)
      Unicode        33.4MB ± 0%      33.4MB ± 0%    ~           (p=0.853 n=10+10)
      GoTypes         120MB ± 0%       120MB ± 0%  -0.03%         (p=0.000 n=9+10)
      Compiler        470MB ± 0%       469MB ± 0%  -0.06%        (p=0.000 n=10+10)
      
      name       old allocs/op    new allocs/op    delta
      Template         404k ± 0%        404k ± 0%    ~           (p=0.165 n=10+10)
      Unicode          350k ± 0%        350k ± 0%    ~            (p=0.211 n=9+10)
      GoTypes         1.21M ± 0%       1.21M ± 0%    ~           (p=0.315 n=10+10)
      Compiler        4.35M ± 0%       4.35M ± 0%  -0.03%        (p=0.001 n=10+10)
      
      Change-Id: I17d547bf9568b1ee2514a7ffab930424617f995e
      Reviewed-on: https://go-review.googlesource.com/32213
      Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarMatthew Dempsky <mdempsky@google.com>
      d6dbf3a0
    • Klaus Post's avatar
      compress/flate: make compression level 0 consistent · 461adfd8
      Klaus Post authored
      Tests for determinism was not working as intended since io.Copybuffer
      uses the io.WriterTo if available.
      
      This exposed that level 0 (no compression) changed output
      based on the number of writes and buffers given to the
      writer.
      
      Previously, Write would emit a new raw block (BTYPE=00) for
      every non-empty call to Write.
      
      This CL fixes it such that a raw block is only emitted upon
      the following conditions:
       	* A full window is obtained (every 65535 bytes)
       	* Flush is called
       	* Close is called
      
      Change-Id: I807f866d97e2db7820f11febab30a96266a6cbf1
      Reviewed-on: https://go-review.googlesource.com/31174
      Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarJoe Tsai <thebrokentoaster@gmail.com>
      461adfd8
    • Klaus Post's avatar
      compress/flate: level 1 (best speed) match across blocks · 2e196b15
      Klaus Post authored
      This change makes deflate level 1 (best speed) match across
      block boundaries. This comes at a small speed penalty,
      but improves compression on almost all output.
      
      Sample numbers on various content types:
      
      enwik9:            391052014 ->  382578469 bytes, 77.59 -> 74.28 MB/s
      adresser.001:       57269799 ->   47756095 bytes, 287.84 -> 357.86 MB/s
      10gb:             5233055166 -> 5198328382 bytes, 105.85 -> 96.99 MB/s
      rawstudio-mint14: 3972329211 -> 3927423364 bytes, 100.07 -> 94.22 MB/s
      sites:             165556800 ->  163178702 bytes, 72.31 -> 70.15 MB/s
      objectfiles:       115962472 ->  111649524 bytes, 132.60 -> 128.05 MB/s
      sharnd.out:        200015283 ->  200015283 bytes, 221.50 -> 218.83 MB/s
      
      Change-Id: I62a139e5c06976e803439a4268acede5139b8cfc
      Reviewed-on: https://go-review.googlesource.com/31640Reviewed-by: 's avatarJoe Tsai <thebrokentoaster@gmail.com>
      Reviewed-by: 's avatarNigel Tao <nigeltao@golang.org>
      2e196b15
    • Hiroshi Ioka's avatar
      cmd/compile/internal/gc: remove EscScope · f8a34443
      Hiroshi Ioka authored
      EscScope behaves like EscHeap in current code.
      There are no need to handle it specially.
      So remove it and use EscHeap instead.
      
      Change-Id: I910106fd147f00e5f4fd52c7dde05128141a5160
      Reviewed-on: https://go-review.googlesource.com/32130
      Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarMatthew Dempsky <mdempsky@google.com>
      f8a34443
  2. 26 Oct, 2016 33 commits