1. 08 Jan, 2014 1 commit
    • Michael Hudson-Doyle's avatar
      cmd/go: test: do not put object files where later steps will find them · 7178c05d
      Michael Hudson-Doyle authored
      When recompiling a package whose basename is the name of a standard
      package for testing with gccgo, a .o file with the basename of the
      package being tested was being placed in the _test/ directory where the
      compilation of the test binary then found it when looking for the
      standard library package.
      
      This change puts the object files in a separate directory.
      
      Fixes #6793
      
      R=golang-codereviews, dave, gobot, rsc, iant
      CC=golang-codereviews
      https://golang.org/cl/27650045
      7178c05d
  2. 07 Jan, 2014 10 commits
  3. 06 Jan, 2014 12 commits
  4. 05 Jan, 2014 1 commit
    • Joel Sing's avatar
      crypto/sha1, crypto/sha256, crypto/sha512: use copy for partial block · 29fe067b
      Joel Sing authored
      Use copy rather than a hand rolled loop when moving a partial input
      block to the scratch area. This results in a reasonable performance
      gain when partial blocks are written.
      
      Benchmarks on Intel(R) Xeon(R) CPU X5650  @ 2.67GHz with Go amd64:
      
             benchmark               old MB/s     new MB/s  speedup
      SHA1   BenchmarkHash8Bytes        18.37        22.80    1.24x
      SHA256 BenchmarkHash8Bytes        11.86        13.78    1.16x
      SHA512 BenchmarkHash8Bytes         4.51         5.24    1.16x
      
             benchmark              old ns/op    new ns/op    delta
      SHA1   BenchmarkHash8Bytes          435          350  -19.54%
      SHA256 BenchmarkHash8Bytes          674          580  -13.95%
      SHA512 BenchmarkHash8Bytes         1772         1526  -13.88%
      
      R=agl, dave, bradfitz
      CC=golang-codereviews
      https://golang.org/cl/35840044
      29fe067b
  5. 04 Jan, 2014 5 commits
  6. 03 Jan, 2014 5 commits
  7. 02 Jan, 2014 5 commits
  8. 01 Jan, 2014 1 commit