1. 27 Jan, 2012 4 commits
  2. 26 Jan, 2012 29 commits
  3. 25 Jan, 2012 7 commits
    • Gustavo Niemeyer's avatar
      gofix: handle xml.Unmarshal in xmlapi fix · 9d4ae0ae
      Gustavo Niemeyer authored
      This improves the handling of xml.Unmarshal in
      the xmlapi fix by guessing some of the common
      types used on it.
      
      This also fixes a bug in the partial typechecker.
      In an expression such as f(&a), it'd mark a as
      having &T rather than *T.
      
      R=golang-dev, rsc
      CC=golang-dev
      https://golang.org/cl/5572058
      9d4ae0ae
    • David G. Andersen's avatar
      math/big: assembly versions of bitLen for x86-64, 386, and ARM. · 316f81bb
      David G. Andersen authored
      Roughly 2x speedup for the internal bitLen function in arith.go.  Added TestWordBitLen test.
      
      Performance differences against the new version of
      bitLen generic:
      
      x86-64 Macbook pro (current tip):
      
      benchmark                old ns/op    new ns/op    delta
      big.BenchmarkBitLen0             6            4  -37.40%
      big.BenchmarkBitLen1             6            2  -51.79%
      big.BenchmarkBitLen2             6            2  -65.04%
      big.BenchmarkBitLen3             6            2  -66.10%
      big.BenchmarkBitLen4             6            2  -60.96%
      big.BenchmarkBitLen5             6            2  -55.80%
      big.BenchmarkBitLen8             6            2  -56.19%
      big.BenchmarkBitLen9             6            2  -64.73%
      big.BenchmarkBitLen16            7            2  -68.84%
      big.BenchmarkBitLen17            6            2  -67.11%
      big.BenchmarkBitLen31            7            2  -61.57%
      
      386 Intel Atom (current tip):
      benchmark                old ns/op    new ns/op    delta
      big.BenchmarkBitLen0            23           20  -13.04%
      big.BenchmarkBitLen1            23           20  -14.77%
      big.BenchmarkBitLen2            24           20  -19.28%
      big.BenchmarkBitLen3            25           20  -21.57%
      big.BenchmarkBitLen4            24           20  -16.94%
      big.BenchmarkBitLen5            25           20  -20.78%
      big.BenchmarkBitLen8            24           20  -19.28%
      big.BenchmarkBitLen9            25           20  -20.47%
      big.BenchmarkBitLen16           26           20  -23.37%
      big.BenchmarkBitLen17           26           20  -25.09%
      big.BenchmarkBitLen31           32           20  -35.51%
      
      ARM v5 SheevaPlug, previous weekly patched with bitLen:
      benchmark                old ns/op    new ns/op    delta
      big.BenchmarkBitLen0            50           29  -41.73%
      big.BenchmarkBitLen1            51           29  -42.75%
      big.BenchmarkBitLen2            59           29  -50.08%
      big.BenchmarkBitLen3            60           29  -50.75%
      big.BenchmarkBitLen4            59           29  -50.08%
      big.BenchmarkBitLen5            60           29  -50.75%
      big.BenchmarkBitLen8            59           29  -50.08%
      big.BenchmarkBitLen9            60           29  -50.75%
      big.BenchmarkBitLen16           69           29  -57.35%
      big.BenchmarkBitLen17           70           29  -57.89%
      big.BenchmarkBitLen31           95           29  -69.07%
      
      R=golang-dev, minux.ma, gri
      CC=golang-dev
      https://golang.org/cl/5574054
      316f81bb
    • Yoshiyuki Kanno's avatar
      net/http: fix Transport deadlock · d645adc3
      Yoshiyuki Kanno authored
      This patch intend to fix following issues.
      http://code.google.com/p/go/issues/detail?id=2616
      
      Fixes #2616.
      
      R=golang-dev, bradfitz, nekotaroh
      CC=golang-dev
      https://golang.org/cl/5532057
      d645adc3
    • Russ Cox's avatar
      gc: fix order of evaluation · ee9bfb02
      Russ Cox authored
      Pulling function calls out to happen before the
      expression being evaluated was causing illegal
      reorderings even without inlining; with inlining
      it got worse.  This CL adds a separate ordering pass
      to move things with a fixed order out of expressions
      and into the statement sequence, where they will
      not be reordered by walk.
      
      Replaces lvd's CL 5534079.
      
      Fixes #2740.
      
      R=lvd
      CC=golang-dev
      https://golang.org/cl/5569062
      ee9bfb02
    • Brad Fitzpatrick's avatar
      regexp: remove vestigial Error type · 73ce14d0
      Brad Fitzpatrick authored
      R=golang-dev, rsc
      CC=golang-dev
      https://golang.org/cl/5573069
      73ce14d0
    • Mikio Hara's avatar
      net: fix dialing google test · 9acea02d
      Mikio Hara authored
      R=golang-dev, bradfitz, rsc
      CC=golang-dev
      https://golang.org/cl/5573060
      9acea02d
    • Robert Griesemer's avatar
      go/doc: test cases for sort order · dbce368e
      Robert Griesemer authored
      R=golang-dev, rsc
      CC=golang-dev
      https://golang.org/cl/5569059
      dbce368e