summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-03-18 22:24:19 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-03-18 22:24:19 -0700
commit0b11f11008362eafbce5b5211fc86766342f514a (patch)
tree2f0964b57c5607a4aa07ed8962068d986a6affe1 /lib.c
parentfa14bd3eccbd211c16dc7ecc06d3132f9f9539a2 (diff)
downloadtxr-0b11f11008362eafbce5b5211fc86766342f514a.tar.gz
txr-0b11f11008362eafbce5b5211fc86766342f514a.tar.bz2
txr-0b11f11008362eafbce5b5211fc86766342f514a.zip
gc: small memory support.
* configure (small_mem): New variable. Provide help text and show default value of --small-mem option. Generate CONFIG_SMALL_MEM in config.h. * gc.c (HEAP_SIZE, CHECKOBJ_VEC_SIZE, MUTOBJ_VEC_SIZE, FULL_GC_INTERVAL, FRESHOBJ_VEC_SIZE, DFL_MALLOC_DELTA_THRESH): Define conservative values of these constants if CONFIG_SMALL_MEM is in effect.
Diffstat (limited to 'lib.c')
0 files changed, 0 insertions, 0 deletions