1. 13 Apr, 2011 17 commits
  2. 12 Apr, 2011 9 commits
  3. 11 Apr, 2011 7 commits
  4. 10 Apr, 2011 2 commits
  5. 09 Apr, 2011 1 commit
    • Russ Cox's avatar
      ld: 25% faster · 1bc84b7e
      Russ Cox authored
      The ld time was dominated by symbol table processing, so
        * increase hash table size
        * emit fewer symbols in gc (just 1 per string, 1 per type)
        * add read-only lookup to avoid creating spurious symbols
        * add linked list to speed whole-table traversals
      
      Breaks dwarf generator (no idea why), so disable dwarf.
      
      Reduces time for 6l to link godoc by 25%.
      
      R=ken2
      CC=golang-dev
      https://golang.org/cl/4383047
      1bc84b7e
  6. 08 Apr, 2011 4 commits
    • Robert Griesemer's avatar
      go/printer, gofmt: use blank to separate import rename from import path · ebaf01f0
      Robert Griesemer authored
      Note that declarations.golden is not using spaces for alignment (so
      that the alignment tabs are visible) which is why this change affects
      the test cases significantly. gofmt uses spaces for alignment (by default)
      and only tabs for indentation.
      
      gofmt -w src misc (no changes)
      
      Fixes #1673.
      
      R=iant
      CC=golang-dev
      https://golang.org/cl/4388044
      ebaf01f0
    • Adam Langley's avatar
      big: don't crash when printing nil ints · 8fc67033
      Adam Langley authored
      "%#v" of a structure with *big.Int's tends to crash a lot otherwise.
      
      R=golang-dev, gri
      CC=golang-dev
      https://golang.org/cl/4382044
      8fc67033
    • Russ Cox's avatar
      8g: optimize byte mov · 23f6479b
      Russ Cox authored
      Rewrite MOVB with less expensive
      instruction when possible.
      
      Suggested by atomic symbol.
      
      benchmark                                        old ns/op    new ns/op    delta
      crc32.BenchmarkCrc32KB                               13066         3942  -69.83%
      crc64.BenchmarkCrc64KB                                8780         5949  -32.24%
      lzw.BenchmarkDecoder1e4                             771224       636538  -17.46%
      lzw.BenchmarkDecoder1e5                            7101218      6096634  -14.15%
      lzw.BenchmarkDecoder1e6                           69762020     60789400  -12.86%
      lzw.BenchmarkEncoder1e4                             707968       638812   -9.77%
      lzw.BenchmarkEncoder1e5                            6567122      5965552   -9.16%
      lzw.BenchmarkEncoder1e6                           65006000     58911680   -9.38%
      utf8_test.BenchmarkRuneCountTenASCIIChars              166          165   -0.60%
      utf8_test.BenchmarkRuneCountTenJapaneseChars           246          258   +4.88%
      utf8_test.BenchmarkEncodeASCIIRune                      13           10  -23.08%
      utf8_test.BenchmarkEncodeJapaneseRune                   37           16  -56.76%
      utf8_test.BenchmarkDecodeASCIIRune                      23           21   -8.70%
      utf8_test.BenchmarkDecodeJapaneseRune                   58           32  -44.83%
      
      R=ken2
      CC=golang-dev
      https://golang.org/cl/4381045
      23f6479b
    • Russ Cox's avatar
      gc: fix weird error message · e7c4a6df
      Russ Cox authored
      Fixes #1670.
      
      R=ken2
      CC=golang-dev
      https://golang.org/cl/4386045
      e7c4a6df