1. 21 May, 2010 2 commits
  2. 20 May, 2010 8 commits
  3. 19 May, 2010 9 commits
  4. 18 May, 2010 2 commits
    • Robert Griesemer's avatar
      big: bug fix for division · 90d0c331
      Robert Griesemer authored
      Fixes #784.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/1196043
      90d0c331
    • Kyle Consalus's avatar
      Trivial optimization. · 2db47c90
      Kyle Consalus authored
      	Cached string indexing in inner loop of Btoui64.
      
          Before:
          strconv_test.BenchmarkAtoi   5000000           309 ns/op
          strconv_test.BenchmarkAtoiNeg    5000000           325 ns/op
          strconv_test.BenchmarkAtoi64     5000000           465 ns/op
          strconv_test.BenchmarkAtoi64Neg  5000000           469 ns/op
      
          After:
          strconv_test.BenchmarkAtoi  10000000           182 ns/op
          strconv_test.BenchmarkAtoiNeg   10000000           193 ns/op
          strconv_test.BenchmarkAtoi64    10000000           251 ns/op
          strconv_test.BenchmarkAtoi64Neg 10000000           258 ns/op
      
      R=golang-dev, gri
      CC=golang-dev
      https://golang.org/cl/1227042
      2db47c90
  5. 17 May, 2010 1 commit
  6. 15 May, 2010 3 commits
  7. 14 May, 2010 3 commits
  8. 13 May, 2010 3 commits
  9. 11 May, 2010 4 commits
  10. 10 May, 2010 1 commit
    • Nigel Tao's avatar
      exp/draw fast path for glyph images. · d7a6d228
      Nigel Tao authored
      To draw.Draw a 32x32 image.Alpha 10000 times,
      Before: 633ms with 10000 mallocs
      After: 49ms with 0 mallocs
      
      These times are just blitting an image.Alpha, and do not include
      rasterizing a glyph's vector contours to an image.Alpha.
      
      The "generic" test case in draw_test.go tests this fast path.
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/1122043
      d7a6d228
  11. 09 May, 2010 2 commits
  12. 08 May, 2010 2 commits
    • Robert Griesemer's avatar
      big: cleanups and performance tuning · 52cc0581
      Robert Griesemer authored
      - removed last argument (n) from all core arithmetic routines;
        instead, use the length of the result
      
      - simplified nat.make implementation and chose a better capacity
        for new values, removed a TODO in the process
      
      Changing the constant e from 1 (old) to 4 (new) improved
      pidigits -s -n 10000 by ~9% (on a 3.06GHz Intel Core 2 Duo):
      
      user	0m3.882s (old)
      user	0m3.549s (new)
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/1133043
      52cc0581
    • Robert Griesemer's avatar
      big: more cleanup · 61eb0e71
      Robert Griesemer authored
      - pass []Word instead of *Word to core arithmetic functions
      - remove dead code
      
      R=rsc
      CC=golang-dev
      https://golang.org/cl/1154042
      61eb0e71