1. 05 Aug, 2012 3 commits
    • Russ Cox's avatar
      bufio: discourage use of ReadLine · ea392b88
      Russ Cox authored
      Too many people use it without reading what it does.
      Those people want ReadBytes or ReadString.
      
      Fixes #3906.
      
      R=golang-dev, iant, r
      CC=golang-dev
      https://golang.org/cl/6442087
      ea392b88
    • Rémy Oudompheng's avatar
      strconv: speedup AppendFloat/FormatFloat. · ff03482f
      Rémy Oudompheng authored
      The improvement is obtained by eliminating the zero
      initialization of a large structure that is only
      needed when the fast path fails.
      
      Also add a missing roundtrip test for float32s.
      
      benchmark                              old ns/op    new ns/op    delta
      BenchmarkAppendFloatDecimal                  301          180  -40.20%
      BenchmarkAppendFloat                         486          388  -20.16%
      BenchmarkAppendFloatExp                      492          383  -22.15%
      BenchmarkAppendFloatNegExp                   478          370  -22.59%
      BenchmarkAppendFloatBig                      650          541  -16.77%
      BenchmarkAppendFloat32Integer                308          180  -41.56%
      BenchmarkAppendFloat32ExactFraction          449          333  -25.84%
      BenchmarkAppendFloat32Point                  494          390  -21.05%
      BenchmarkAppendFloat32Exp                    488          387  -20.70%
      BenchmarkAppendFloat32NegExp                 488          378  -22.54%
      
      R=r, rsc
      CC=golang-dev, remy
      https://golang.org/cl/6346081
      ff03482f
    • Andrew Balholm's avatar
      exp/html: don't treat SVG <title> like HTML <title> · 74db9d29
      Andrew Balholm authored
      The content of an HTML <title> element is RCDATA, but the content of an SVG
      <title> element is parsed as tags. Now the parser doesn't go into RCDATA
      mode in foreign content.
      
      Pass 4 additional tests.
      
      R=nigeltao
      CC=golang-dev
      https://golang.org/cl/6448111
      74db9d29
  2. 04 Aug, 2012 3 commits
  3. 03 Aug, 2012 13 commits
  4. 02 Aug, 2012 3 commits
  5. 01 Aug, 2012 7 commits
  6. 31 Jul, 2012 5 commits
  7. 30 Jul, 2012 6 commits