Commit graph

658 commits

Author SHA1 Message Date
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
Justin Ethier
9174e320dc WIP - use differnt heap for small objects 2016-04-11 23:37:49 -04:00
Justin Ethier
e773acfafc Refactoring 2016-04-09 01:01:03 -04:00
Justin Ethier
a5c7f69377 Issue #6 - Only GC mutated vector element
Make the minor GC write barrie more efficient by only moving the mutated element of a vector, rather than all elements. Unfortunately this does not make a large improvement in performance, but it seems to help a bit.
2016-04-08 23:17:03 -04:00
Justin Ethier
7c27dfa4a2 Better handling of index fields 2016-04-07 23:49:13 -04:00
Justin Ethier
f966fd6821 Support zero or one arg to numeric operations 2016-04-06 22:30:15 -04:00
justin
d5dd8447f5 Do not print extra trailing zeros after decimal point 2016-04-05 16:05:14 -04:00
Justin Ethier
c9326fc8c4 Bug fixes for num comparisons 2016-04-05 23:20:01 -04:00
Justin Ethier
e451d1d606 Use floating-point math for division 2016-04-05 01:42:32 -04:00
Justin Ethier
b1ab82a9f8 Trying out more precision in floating point output 2016-04-05 00:14:05 -04:00
Justin Ethier
c84db62a4a Removed dead code 2016-04-04 23:23:28 -04:00
Justin Ethier
7f05cd94ef number->string support for binary 2016-04-04 23:02:24 -04:00
Justin Ethier
5b3711238a Initial version of Cyc_number2string2 2016-04-04 22:34:41 -04:00
Justin Ethier
3a79a0f181 Return immediate integers 2016-04-02 00:48:02 -04:00
Justin Ethier
8845991c71 Refactoring 2016-04-01 22:02:13 -04:00
Justin Ethier
a63f9a729e Refactoring 2016-04-01 21:48:01 -04:00
Justin Ethier
a01750ac16 Removed obsolete functions 2016-03-31 23:55:51 -04:00
Justin Ethier
f8253f716b Use new numeric comparison ops 2016-03-31 23:32:44 -04:00
Justin Ethier
a6e22f67e8 Added a new set of numeric comparison ops 2016-03-31 23:26:26 -04:00
Justin Ethier
e0f6f917a8 Handle new naming of globals 2016-03-31 22:06:56 -04:00
Justin Ethier
444bf8d61f Eval call/cc - allow call/cc to be evaluated 2016-03-30 21:44:00 -04:00
Justin Ethier
258c823ef3 WIP for fixing eval'd call/cc 2016-03-31 02:55:04 -04:00
Justin Ethier
9052a0d2bd Do not have (write) automatically output a newline 2016-03-28 21:53:38 -04:00
Justin Ethier
9f4991724e string/utf8 - allow zero length results 2016-03-28 21:35:08 -04:00
Justin Ethier
822ac63e9a Added utf8 primitives to eval 2016-03-29 02:35:52 -04:00
Justin Ethier
6c91607d9b bugfix 2016-03-29 01:09:07 -04:00
Justin Ethier
8ef3cb7e61 utf8/string functions 2016-03-29 00:32:50 -04:00
Justin Ethier
f2f5e191bd Added utf8/string stubs 2016-03-28 23:51:37 -04:00
Justin Ethier
d7b5cda3ae Use flag to control printing of GC exit stats 2016-03-25 23:22:28 -04:00
Justin Ethier
a568cfda64 Tweaked bounds checking for bytevector-copy 2016-03-24 02:20:45 -04:00
Justin Ethier
4b7cc58214 WIP 2016-03-24 01:50:01 -04:00
Justin Ethier
b4ca192000 WIP 2016-03-24 01:22:42 -04:00
Justin Ethier
4f46e124fa Core function for bytevector-copy 2016-03-24 01:09:14 -04:00
Justin Ethier
e59ce36cb9 Fixes for u8-set 2016-03-24 00:45:58 -04:00
Justin Ethier
e9ed4abcc5 bytevector fixes 2016-03-24 00:14:57 -04:00
Justin Ethier
56278989eb Integrating bytevector-append 2016-03-23 22:58:56 -04:00
Justin Ethier
0128ff32b5 Bugfix 2016-03-23 22:51:12 -04:00
Justin Ethier
0262ea944b Added bytevector-append 2016-03-23 22:21:14 -04:00
Justin Ethier
d3f1e7a1ca Consolidate code for (bytevector) 2016-03-23 22:01:08 -04:00
Justin Ethier
87ce05aa21 Ensure u8's only deal with bytes 2016-03-23 20:58:23 -04:00
Justin Ethier
79101a2194 Bugfixes for bytevector 2016-03-23 20:48:25 -04:00
Justin Ethier
1f85e6a957 Adding more bv prims 2016-03-22 22:45:36 -04:00
Justin Ethier
d3bbc46b29 Added more u8 primitives 2016-03-22 22:00:03 -04:00
Justin Ethier
d73686194b GC bytevectors 2016-03-23 03:53:04 -04:00