1. 05 Aug, 2012 5 commits
    • Rémy Oudompheng's avatar
      runtime: faster string equality. · 77f3e189
      Rémy Oudompheng authored
      benchmark                                old ns/op    new ns/op    delta
      BenchmarkCompareStringEqual                     51           35  -30.20%
      BenchmarkCompareStringIdentical                 51            7  -85.71%
      BenchmarkCompareStringSameLength                25           18  -28.29%
      BenchmarkCompareStringDifferentLength            2            2   +1.46%
      
      R=golang-dev, rsc
      CC=golang-dev, remy
      https://golang.org/cl/6450092
      77f3e189
    • Russ Cox's avatar
      misc/dashboard/codereview: show first line of last message in thread · ab058b35
      Russ Cox authored
      This line helps me to tell whether the CL is waiting for me or I'm waiting for the author.
      
      Also:
       - vertical-align table cells so buttons are always aligned with CL headers.
       - add email= to show front page for someone else.
      
       Demo at http://rsc.gocodereview.appspot.com/.
       Until this is deployed for real, some recently changed CLs may be
       missing the 'first line of last message' part.
      
      R=dsymonds
      CC=golang-dev
      https://golang.org/cl/6446065
      ab058b35
    • 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 4 commits