mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
* libguile/vm-i-scheme.c (INUM_MAX, INUM_MIN): New macros. (add1, sub1): Add/subtract without untagging the operand. This leads to a 44% run time improvement compared to the previous implementation. * libguile/vm.c: Include <stdint.h>. * test-suite/tests/numbers.test ("1+", "1-"): Add tests for MOST-POSITIVE-FIXNUM, resp. MOST-NEGATIVE-FIXNUM, for 32-bit and 34-bit values thereof. * benchmark-suite/benchmarks/arithmetic.bm: New file. * benchmark-suite/Makefile.am (SCM_BENCHMARKS): Add it. |
||
---|---|---|
.. | ||
0-reference.bm | ||
arithmetic.bm | ||
bytevectors.bm | ||
chars.bm | ||
continuations.bm | ||
if.bm | ||
logand.bm | ||
ports.bm | ||
read.bm | ||
srfi-1.bm | ||
srfi-13.bm | ||
structs.bm | ||
subr.bm | ||
uniform-vector-read.bm | ||
vectors.bm | ||
vlists.bm | ||
write.bm |