diff options
author | Keith Packard <keithp@keithp.com> | 2017-12-12 15:25:51 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-12-12 15:25:51 -0800 |
commit | d8c9024f3829dc3f241b16869f165f3ee01764f3 (patch) | |
tree | ee3038984838551412feeeee5e56c22afe83a99b /src/scheme/test/ao_scheme_test.c | |
parent | a15166c435f65cb36f487ec8e5a4ff558a7e0502 (diff) |
altos/scheme: Support scheme subsetting via feature settings
This provides for the creation of smaller versions of the interpreter,
leaving out options like floating point numbers and vectors.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/scheme/test/ao_scheme_test.c')
-rw-r--r-- | src/scheme/test/ao_scheme_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scheme/test/ao_scheme_test.c b/src/scheme/test/ao_scheme_test.c index 0c77d8d5..45068369 100644 --- a/src/scheme/test/ao_scheme_test.c +++ b/src/scheme/test/ao_scheme_test.c @@ -107,6 +107,7 @@ main (int argc, char **argv) } ao_scheme_read_eval_print(); +#ifdef DBG_MEM_STATS printf ("collects: full: %lu incremental %lu\n", ao_scheme_collects[AO_SCHEME_COLLECT_FULL], ao_scheme_collects[AO_SCHEME_COLLECT_INCREMENTAL]); @@ -136,4 +137,5 @@ main (int argc, char **argv) (double) ao_scheme_loops[AO_SCHEME_COLLECT_FULL], (double) ao_scheme_freed[AO_SCHEME_COLLECT_INCREMENTAL] / (double) ao_scheme_loops[AO_SCHEME_COLLECT_INCREMENTAL]); +#endif } |