• 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
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
pkg Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...