1.0.6.19: optimize BIGNUM-TRUNCATE'ing by small powers of two
authorNathan Froyd <froydnj@cs.rice.edu>
Mon, 4 Jun 2007 23:11:46 +0000 (23:11 +0000)
committerNathan Froyd <froydnj@cs.rice.edu>
Mon, 4 Jun 2007 23:11:46 +0000 (23:11 +0000)
commit1d6cc3cdc716900691748d6d25c19b10f8b47eda
treeaed6922c34e057fcc28f4ee0fc917a91f503a2eb
parent1596e9fdeb2265c4a00e441bc8a1dbdc5364afa7
1.0.6.19: optimize BIGNUM-TRUNCATE'ing by small powers of two

* This is a common case when printing floating-point numbers.  On
  the simple "print a million single-floats" benchmark, this wins
  by about 20-25%;
* Also fold a few i+1 loop variables into their only use; doing so
  is not much worse that what we had before and slightly better if
  the backend supports DATA-VECTOR-REF-WITH-OFFSET.
src/code/bignum.lisp
version.lisp-expr