Justin Ethier
baa2be0bcf
Added opaque types
2016-04-18 22:07:57 -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
89881e901a
Experimenting with a medium object heap
2016-04-12 21:34:18 -04:00
Justin Ethier
9174e320dc
WIP - use differnt heap for small objects
2016-04-11 23:37:49 -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
f966fd6821
Support zero or one arg to numeric operations
2016-04-06 22:30:15 -04:00
Justin Ethier
c84db62a4a
Removed dead code
2016-04-04 23:23:28 -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
a63f9a729e
Refactoring
2016-04-01 21:48:01 -04:00
Justin Ethier
0da8dabc5a
Renamed macro
2016-04-01 21:03:40 -04:00
Justin Ethier
a01750ac16
Removed obsolete functions
2016-03-31 23:55:51 -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
258c823ef3
WIP for fixing eval'd call/cc
2016-03-31 02:55:04 -04:00
Justin Ethier
822ac63e9a
Added utf8 primitives to eval
2016-03-29 02:35:52 -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
5f5d16a03a
Try reducing heap size to 16 MB / page
2016-03-26 00:21:06 -04:00
Justin Ethier
d7b5cda3ae
Use flag to control printing of GC exit stats
2016-03-25 23:22:28 -04:00
Justin Ethier
1ce9fee354
Added gc_print_stats
2016-03-25 22:13:56 -04:00
Justin Ethier
4f46e124fa
Core function for bytevector-copy
2016-03-24 01:09:14 -04:00
Justin Ethier
e9ed4abcc5
bytevector fixes
2016-03-24 00:14:57 -04:00
Justin Ethier
0262ea944b
Added bytevector-append
2016-03-23 22:21:14 -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
059f6d5321
u8 primitives
2016-03-22 23:07:29 -04:00
Justin Ethier
c59b01fe00
Beginning to add u8vector type
2016-03-22 21:54:32 -04:00
Justin Ethier
9889248cab
Removed unused closure types
2016-03-22 21:49:12 -04:00
Justin Ethier
d0914d863f
Allow optional fill arg to (make-vector) in compiled code
2016-03-22 20:45:14 -04:00
Justin Ethier
ea605b0737
Added Cyc_make_vector2
2016-03-22 19:53:32 -04:00
Justin Ethier
9d5b97fc74
Removed obsolete function
2016-03-21 21:32:26 -04:00
Justin Ethier
f11fec9f82
Cleaning up Cyc_length
2016-03-22 03:23:46 -04:00
Justin Ethier
1b92040258
API cleanup
2016-03-22 01:29:51 -04:00
Justin Ethier
739831ebe6
Removed redundant functions
2016-03-22 01:03:12 -04:00
Justin Ethier
735bd910b6
Converting integer_type returning primitives
2016-03-21 23:34:22 -04:00
Justin Ethier
88f1192c5e
64-bit compatibility for int value types
2016-03-20 22:44:08 -04:00
Justin Ethier
cdde675994
Integer value types
2016-03-17 22:51:31 -04:00
Justin Ethier
acf9de866e
Purge sum2 and friends
2016-03-17 21:11:24 -04:00
Justin Ethier
ad85ca9761
Alternate set of numeric functions
2016-03-16 22:52:05 -04:00
Justin Ethier
8f4e66a7f7
Removed dead code
2016-03-17 02:00:48 -04:00
Justin Ethier
b3b29ae15f
Removed string->number2
2016-03-17 01:56:11 -04:00
Justin Ethier
5d234d1509
WIP
2016-03-15 22:32:30 -04:00
Justin Ethier
6ed522accd
Alternate versions of string->number
2016-03-15 21:39:55 -04:00
justin
40b075ace9
More integer_type conversions
2016-03-15 10:48:58 -04:00
justin
33b56d24ea
More integer_type conversions
2016-03-15 10:15:47 -04:00
Justin Ethier
df44178302
Bugfix
2016-03-14 23:46:41 -04:00
Justin Ethier
a37b640737
Modify storage of chars
2016-03-14 23:33:41 -04:00
Justin Ethier
bc26daa71f
Limit GC tracing
2016-03-03 22:38:54 -05:00
Justin Ethier
7900d47589
Increase heap page to 32MB
2016-03-03 23:21:09 -05:00