1. 17 Jun, 2014 5 commits
  2. 16 Jun, 2014 3 commits
  3. 14 Jun, 2014 3 commits
  4. 13 Jun, 2014 11 commits
  5. 12 Jun, 2014 15 commits
  6. 11 Jun, 2014 3 commits
    • Robert Griesemer's avatar
      math: remove Nextafter64 alias in favor of existing Nextafter · 3d68dc33
      Robert Griesemer authored
      LGTM=adonovan
      R=rsc, adonovan
      CC=golang-codereviews
      https://golang.org/cl/104050045
      3d68dc33
    • Rui Ueyama's avatar
      encoding/base64, encoding/base32: make DecodeString faster · afb7b67a
      Rui Ueyama authored
      Previously, an input string was stripped of newline
      characters at the beginning of DecodeString and then passed
      to Decode. Decode again tried to strip newline characters.
      That's waste of time.
      
      benchmark                 old MB/s     new MB/s  speedup
      BenchmarkDecodeString        38.37        65.20    1.70x
      
      LGTM=dave, bradfitz
      R=golang-codereviews, dave, bradfitz
      CC=golang-codereviews
      https://golang.org/cl/91770051
      afb7b67a
    • Russ Cox's avatar
      cmd/gc: fix &result escaping into result · f20e4d5e
      Russ Cox authored
      There is a hierarchy of location defined by loop depth:
      
              -1 = the heap
              0 = function results
              1 = local variables (and parameters)
              2 = local variable declared inside a loop
              3 = local variable declared inside a loop inside a loop
              etc
      
      In general if an address from loopdepth n is assigned to
      something in loop depth m < n, that indicates an extended
      lifetime of some form that requires a heap allocation.
      
      Function results can be local variables too, though, and so
      they don't actually fit into the hierarchy very well.
      Treat the address of a function result as level 1 so that
      if it is written back into a result, the address is treated
      as escaping.
      
      Fixes #8185.
      
      LGTM=iant
      R=iant
      CC=golang-codereviews
      https://golang.org/cl/108870044
      f20e4d5e