• Robert Griesemer's avatar
    big: use fast shift routines · 58e77990
    Robert Griesemer authored
    - fixed a couple of bugs in the process
      (shift right was incorrect for negative numbers)
    - added more tests and made some tests more robust
    - changed pidigits back to using shifts to multiply
      by 2 instead of add
    
      This improves pidigit -s -n 10000 by approx. 5%:
    
      user 0m6.496s (old)
      user 0m6.156s (new)
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/963044
    58e77990
Name
Last commit
Last update
..
binary-tree-freelist.go Loading commit data...
binary-tree-freelist.txt Loading commit data...
binary-tree.c Loading commit data...
binary-tree.go Loading commit data...
binary-tree.txt Loading commit data...
chameneosredux.c Loading commit data...
chameneosredux.go Loading commit data...
chameneosredux.txt Loading commit data...
clean.bash Loading commit data...
fannkuch-parallel.go Loading commit data...
fannkuch-parallel.txt Loading commit data...
fannkuch.c Loading commit data...
fannkuch.go Loading commit data...
fannkuch.txt Loading commit data...
fasta-1000.out Loading commit data...
fasta.c Loading commit data...
fasta.go Loading commit data...
fasta.txt Loading commit data...
k-nucleotide-parallel.go Loading commit data...
k-nucleotide-parallel.txt Loading commit data...
k-nucleotide.c Loading commit data...
k-nucleotide.go Loading commit data...
k-nucleotide.txt Loading commit data...
mandelbrot.c Loading commit data...
mandelbrot.go Loading commit data...
mandelbrot.txt Loading commit data...
meteor-contest.c Loading commit data...
meteor-contest.go Loading commit data...
meteor-contest.txt Loading commit data...
nbody.c Loading commit data...
nbody.go Loading commit data...
nbody.txt Loading commit data...
pidigits.c Loading commit data...
pidigits.go Loading commit data...
pidigits.txt Loading commit data...
regex-dna.c Loading commit data...
regex-dna.go Loading commit data...
regex-dna.txt Loading commit data...
reverse-complement.c Loading commit data...
reverse-complement.go Loading commit data...
reverse-complement.txt Loading commit data...
spectral-norm-parallel.go Loading commit data...
spectral-norm.c Loading commit data...
spectral-norm.go Loading commit data...
spectral-norm.txt Loading commit data...
threadring.c Loading commit data...
threadring.go Loading commit data...
threadring.txt Loading commit data...
timing.log Loading commit data...
timing.sh Loading commit data...