An error occurred fetching the project authors.
  1. 06 Oct, 2015 2 commits
  2. 29 Jun, 2015 1 commit
  3. 29 May, 2015 1 commit
  4. 15 Apr, 2015 1 commit
  5. 08 Apr, 2015 1 commit
  6. 16 Sep, 2014 1 commit
  7. 08 Sep, 2014 1 commit
  8. 26 Aug, 2014 1 commit
  9. 16 Apr, 2014 1 commit
  10. 18 Jul, 2013 1 commit
  11. 23 May, 2013 1 commit
    • Daniel Morsing's avatar
      io: Prioritize WriterTos over ReaderFroms in Copy. · fdc4ce6e
      Daniel Morsing authored
      This only affects calls where both ReaderFrom and WriterTo are implemented. WriterTo can issue one large write, while ReaderFrom must Read until EOF, potentially reallocating when out of memory. With one large Write, the Writer only needs to allocate once.
      
      This also helps in ioutil.Discard since we can avoid copying memory when the Reader implements WriterTo.
      
      R=golang-dev, dsymonds, remyoudompheng, bradfitz
      CC=golang-dev, minux.ma
      https://golang.org/cl/9462044
      fdc4ce6e
  12. 19 Apr, 2013 1 commit
  13. 09 Apr, 2013 1 commit
  14. 13 Feb, 2013 1 commit
  15. 08 Feb, 2013 1 commit
  16. 31 Jan, 2013 1 commit
    • Russ Cox's avatar
      io: guarantee err == nil for full reads in ReadFull and ReadAtLeast · 662ff542
      Russ Cox authored
      This is a backwards compatible API change that fixes broken code.
      
      In Go 1.0, ReadFull(r, buf) could return either len(buf), nil or len(buf), non-nil.
      Most code expects only the former, so do that and document the guarantee.
      
      Code that was correct before is still correct.
      Code that was incorrect before, by assuming the guarantee, is now correct too.
      
      The same applies to ReadAtLeast.
      
      Fixes #4544.
      
      R=golang-dev, bradfitz, minux.ma
      CC=golang-dev
      https://golang.org/cl/7235074
      662ff542
  17. 13 Dec, 2012 1 commit
  18. 30 Oct, 2012 1 commit
  19. 08 Aug, 2012 1 commit
  20. 07 Aug, 2012 1 commit
  21. 08 Mar, 2012 1 commit
  22. 07 Mar, 2012 1 commit
  23. 01 Mar, 2012 1 commit
  24. 29 Feb, 2012 1 commit
  25. 06 Feb, 2012 1 commit
    • Rob Pike's avatar
      io: API tweaks · 929203ac
      Rob Pike authored
      - eliminate local Error type (a historical artifact)
      - fix documentation of CopyN
      - fix documentation of WriteString
      Fixes #2859.
      
      R=rsc, bradfitz
      CC=golang-dev
      https://golang.org/cl/5636046
      929203ac
  26. 02 Nov, 2011 1 commit
  27. 26 Oct, 2011 1 commit
  28. 30 Sep, 2011 1 commit
  29. 26 Aug, 2011 1 commit
  30. 28 Jun, 2011 1 commit
  31. 22 Jun, 2011 2 commits
  32. 26 May, 2011 1 commit
  33. 25 May, 2011 1 commit
    • Brad Fitzpatrick's avatar
      io, net, http: sendfile support · b0f39cc2
      Brad Fitzpatrick authored
      Speeds up static fileserver, avoiding kernel/userspace copies.
      
      Numbers: downloading 14 MB AppEngine Go SDK with ab (Apache Bench)
      with 5 threads:
      
      Before/after numbers:
      
      CPU:
      user    0m3.910s
      sys     0m23.650s
      ->
      user    0m0.720s
      sys     0m4.890s
      
      Time taken for tests:   8.906 seconds
      ->
      Time taken for tests:   8.545 seconds
      
      Percentage of the requests served within a certain time (ms)
      50%     44
      66%     45
      75%     46
      80%     46
      90%     48
      95%     51
      98%     59
      99%     71
      100     74 (longest request)
      ->
      50%     42
      66%     43
      75%     43
      80%     44
      90%     46
      95%     57
      98%     62
      99%     63
      100%    64 (longest request)
      
      R=iant, gary.burd, rsc, bradfitz
      CC=golang-dev
      https://golang.org/cl/4543071
      b0f39cc2
  34. 19 Apr, 2011 1 commit
  35. 13 Apr, 2011 1 commit
  36. 08 Apr, 2011 1 commit
  37. 02 Feb, 2011 2 commits