summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-04-03 18:54:59 -0700
committerKaz Kylheku <kaz@kylheku.com>2012-04-03 18:54:59 -0700
commit4fe91fbeb4aa86ac43e530621220d46c8c03bffc (patch)
treed0abcc4350bb16444ce45369fbe3b08594053021 /ChangeLog
parent6934d519958914508da133a6d5851811220e46fb (diff)
downloadtxr-4fe91fbeb4aa86ac43e530621220d46c8c03bffc.tar.gz
txr-4fe91fbeb4aa86ac43e530621220d46c8c03bffc.tar.bz2
txr-4fe91fbeb4aa86ac43e530621220d46c8c03bffc.zip
Performance tweaking and fixes.
* gc.c (BACKPTR_VEC_SIZE): Increase greatly, so that we don't trigger gc due to overflow of the backptr array. This is not likely to yield a lot of free objects except in a full GC. (FULL_GC_INTERVAL): From 10 to 20. (gc): Take a not of whether or not gc was entered with free_list being exhausted or not. Call more() only if the free_list was empty, and a full sweep was done. Reset partial_gc_count only when a full gc is triggered.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4441ad2f..0f4c3cce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,18 @@
2012-04-03 Kaz Kylheku <kaz@kylheku.com>
+ Performance tweaking and fixes.
+
+ * gc.c (BACKPTR_VEC_SIZE): Increase greatly, so that we don't
+ trigger gc due to overflow of the backptr array. This is not likely
+ to yield a lot of free objects except in a full GC.
+ (FULL_GC_INTERVAL): From 10 to 20.
+ (gc): Take a not of whether or not gc was entered with free_list
+ being exhausted or not. Call more() only if the free_list was
+ empty, and a full sweep was done.
+ Reset partial_gc_count only when a full gc is triggered.
+
+2012-04-03 Kaz Kylheku <kaz@kylheku.com>
+
Fix failing test case tests/006/freeform-1.txr.
* lib.c (lazy_str_force, lazy_str_force_upto): Use set macro