• 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
Name
Last commit
Last update
..
Makefile Loading commit data...
arith.go Loading commit data...
arith_386.s Loading commit data...
arith_amd64.s Loading commit data...
arith_arm.s Loading commit data...
arith_test.go Loading commit data...
calibrate_test.go Loading commit data...
int.go Loading commit data...
int_test.go Loading commit data...
nat.go Loading commit data...
nat_test.go Loading commit data...