From ee8103fa715d464da45850f794da2df8f3773811 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku <kaz@kylheku.com> Date: Mon, 9 Nov 2009 20:33:25 -0800 Subject: Changing representation of objects to allow for unboxed characters. Now numbers and characters fit into a cell. We lose one more bit from the range of numbers. --- ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 0f71e03d..4ed23e2b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +2009-11-06 Kaz Kylheku <kkylheku@gmail.com> + + Changing representation of objects to allow for unboxed characters. + Now numbers and characters fit into a cell. We lose one more bit + from the range of numbers. + + * lib.h (TAG_SHIFT, TAG_MASK, TAG_NUM, TAG_PTR, NUM_MASK, NUM_MIN, + is_ptr, is_num): Macros updated. + (is_chr, tag): New macros. + (struct chr): Removed. + (union obj): Updated. + + * lib.c (typeof, equal, chr, chrp, c_chr, obj_print): Updated. + + * hash.c (ll_hash): Characters aren't pointers any longer; + use abstract accessor. + 2009-11-06 Kaz Kylheku <kkylheku@gmail.com> Add hash removal. -- cgit v1.2.3