Commit graph

451 commits

Author SHA1 Message Date
Justin Ethier
199b685de3 Use only one comparison in closcall macros
This improves performance a bit since these macros are called after almost every C function.
2016-07-04 22:42:35 -04:00
Justin Ethier
02e8b343c7 Fix Cyc_has_cycle to compare cons cells
Compare the cons cells themselves - instead of values - to determine if there is a cycle. By definition the pointers will be different unless there is a cycle.
2016-07-02 02:42:32 -04:00
Justin Ethier
f86132591d Issue #69 - Removed symtbl size checks
libck already does this internally
2016-07-01 21:53:36 -04:00
Justin Ethier
c9d93dd0b2 Bug fixes 2016-07-01 01:07:25 -04:00
Justin Ethier
9cf016e1a6 More cleanup, generalize apply_va logic 2016-06-29 22:55:18 -04:00
Justin Ethier
4f65fdb6e2 Cleanup 2016-06-29 22:41:42 -04:00
Justin Ethier
63e476839f va_args version of apply for eval 2016-06-29 22:14:58 -04:00
Justin Ethier
552fb19822 Added TODO's 2016-06-30 00:45:06 -04:00
Justin Ethier
67c00ae7ed WIP version of dispatch_apply_va 2016-06-30 00:09:17 -04:00
Justin Ethier
c46a8e57f6 WIP - apply with varargs 2016-06-28 23:01:50 -04:00
Justin Ethier
378b5f1c3e Experimenting with MRG32k3a 2016-06-20 22:50:35 -04:00
Justin Ethier
81d5a9e524 Issue #10 - Add vector support to (write). 2016-06-19 22:55:23 -04:00
Justin Ethier
730fdb3111 Fix crash when cdr is a value type 2016-05-03 00:10:59 -04:00
Justin Ethier
24cf670237 Added Cyc-opaque? 2016-04-26 21:52:30 -04:00
Justin Ethier
161c46ac72 Added Cyc_is_opaque 2016-04-27 04:05:54 -04:00
Justin Ethier
a946a6cb69 Refactoring 2016-04-27 03:58:38 -04:00
Justin Ethier
007c7d3fe5 Refactoring 2016-04-27 03:52:27 -04:00
Justin Ethier
7181268d6b Ran 'make indent' 2016-04-27 03:49:41 -04:00
Justin Ethier
ef4ad29969 Refactoring 2016-04-27 03:30:29 -04:00
Justin Ethier
e892ed2270 Refactoring 2016-04-27 03:18:47 -04:00
Justin Ethier
5d1a605b66 Refactoring 2016-04-27 02:24:05 -04:00
Justin Ethier
008c857755 Refactoring 2016-04-26 23:33:36 -04:00
Justin Ethier
df20aaa6d3 Refactoring 2016-04-20 23:42:21 -04:00
Justin Ethier
ef1db96f2a Refactoring 2016-04-20 23:10:46 -04:00
Justin Ethier
9bcdd35370 Added more GC constants 2016-04-20 22:07:14 -04:00
Justin Ethier
b4d67004fe Cleaned up list of tags 2016-04-21 03:37:20 -04:00
Justin Ethier
f89d35bb09 Removed unused functions 2016-04-21 00:48:56 -04:00
Justin Ethier
ea225a3ab7 Refactoring 2016-04-21 00:36:51 -04:00
Justin Ethier
aa85e34002 Refactoring 2016-04-20 23:45:35 -04:00
Justin Ethier
40416364f8 Refactoring 2016-04-20 23:00:04 -04:00
Justin Ethier
63a2204efc Refactoring 2016-04-20 22:20:02 -04:00
Justin Ethier
b14d25afc9 Decrease memory usage of object header 2016-04-20 21:46:28 -04:00
Justin Ethier
b734d1aef2 Refactoring 2016-04-20 03:57:30 -04:00
Justin Ethier
56c9a3340f Refactoring 2016-04-20 03:49:36 -04:00
Justin Ethier
8d34ce909b Refactoring 2016-04-20 03:42:10 -04:00
Justin Ethier
3553d0773c Refactoring 2016-04-20 03:39:58 -04:00
Justin Ethier
dc33c2fd7e Refactoring 2016-04-20 03:22:12 -04:00
Justin Ethier
2ee4cd05b2 Refactoring 2016-04-20 03:18:51 -04:00
Justin Ethier
79c7cbed97 Refactoring 2016-04-20 03:02:03 -04:00
Justin Ethier
d2c8224444 Refactoring 2016-04-20 02:47:05 -04:00
Justin Ethier
7815cebd5a GC for opaques 2016-04-19 22:11:31 -04:00
Justin Ethier
af76a13116 Add opaque types to minor GC 2016-04-19 22:00:39 -04:00
Justin Ethier
baa2be0bcf Added opaque types 2016-04-18 22:07:57 -04:00
Justin Ethier
6d9b1436ec Tweak initial heap size 2016-04-13 21:21:48 -04:00
Justin Ethier
1578127410 Grow heap more slowly 2016-04-12 22:17:32 -04:00
Justin Ethier
71d085091d Fully-generalize gc algorithms
Updated code to support 3 types of heaps, based on size. Need to be able to use the old algorithms to inspect the active size of each heap. We need to collect if one of the sub-heaps is almost full, even if the others are mostly empty.
2016-04-12 21:47:41 -04:00
Justin Ethier
8d8ce71c92 Revert previous change, for now 2016-04-12 23:44:13 -04:00
Justin Ethier
0de7c6b98b Experimenting with gradual heap growth 2016-04-12 23:10:21 -04:00
Justin Ethier
89881e901a Experimenting with a medium object heap 2016-04-12 21:34:18 -04:00
Justin Ethier
4457cd24c0 Stub for vector heap alloc 2016-04-11 22:57:39 -04:00