summaryrefslogtreecommitdiffstats
path: root/tests/sock-common.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-11-15 21:04:49 -0800
committerKaz Kylheku <kaz@kylheku.com>2016-11-15 21:04:49 -0800
commit704664e60d7d548d9ce5c44b34d0d2b60db1e31c (patch)
tree25a496e694ee99cc4fd3a70f743d03b5acc59b0e /tests/sock-common.tl
parentd70ae3ff981f4611c642ce66686d763908602b7f (diff)
downloadtxr-704664e60d7d548d9ce5c44b34d0d2b60db1e31c.tar.gz
txr-704664e60d7d548d9ce5c44b34d0d2b60db1e31c.tar.bz2
txr-704664e60d7d548d9ce5c44b34d0d2b60db1e31c.zip
Adjust some gen-gc array sizes.
Tuning some parameters by experimenting with timings. * gc.c (CHECKOBJ_VEC_SIZE): Reduce to 2*HEAP_SIZE; this doesn't have to be equal in size to FRESHOBJ_VEC_SIZE; entries into the checkobj array are not expected to be as frequent as in the freshobj array. (MUTOBJ_VEC_SIZE): On the other hand, at HEAP_SIZE/4, this may be too small. Increasing to 2*HEAP_SIZE. Overall, the storage for these arrays is reduced by over 25%, with seemingly better performance.
Diffstat (limited to 'tests/sock-common.tl')
0 files changed, 0 insertions, 0 deletions