Justin Ethier
74eff82805
Added flags
2017-08-09 16:12:53 +00:00
Justin Ethier
0aa3437143
WIP
2017-07-29 20:27:43 -04:00
Justin Ethier
06d7eb1e7e
Reverting temporarily
2017-07-29 19:21:43 -04:00
Justin Ethier
b8ed7225c0
Issue #142 - Statically allocate closure0
...
Statically allocate closure0 objects since they are immutable and contain no free variables, so all copies of them would be identical.
2017-07-27 18:59:46 -04:00
Justin Ethier
6e6a4239a4
Bug fixes
2017-07-21 13:39:55 +00:00
Justin Ethier
b8d2fda060
WIP
2017-07-21 13:03:54 +00:00
Justin Ethier
acb797e323
WIP - Experimenting with REST heap allocation
2017-07-20 17:46:08 +00:00
Justin Ethier
b913edcc9f
Experimenting with inline of Cyc_is_pair
2017-07-10 13:48:44 +00:00
Justin Ethier
c550b15f3a
Issue #150 - Inefficient (but working) thread-join!
2017-06-17 01:36:47 -04:00
Justin Ethier
64be028166
Added gc_is_mutator_active()
2017-06-17 01:01:59 -04:00
Justin Ethier
27970524c5
Generalization of globals_changed thread param
2017-06-09 17:17:01 +00:00
Justin Ethier
aea673c764
Added parens
2017-05-26 15:13:22 +00:00
Justin Ethier
7cdabc02b6
WIP
2017-05-25 17:46:41 -04:00
Justin Ethier
9242c424c3
WIP
2017-05-24 17:23:23 +00:00
Justin Ethier
ea2550a882
Issue #199 - More efficient memory usage
...
Only use a single int on the heap to store the number of huge heap allocations. There is no need to track allocations on the other heaps, at least at this time.
2017-05-10 10:12:25 +00:00
Justin Ethier
95e15dd3c2
Issue #199 - Initiate GC using huge GC alloc count
...
Free space does not work for huge heaps since often they are allocated on demand as a full page at a time. But if more than X huge pages have been allocated, it is probably a good time to initiate a major GC.
2017-05-09 23:01:44 +00:00
Justin Ethier
0656756ab4
Simplify logic
2017-04-24 17:58:05 +00:00
Justin Ethier
4b35ff71df
Do not copy pairs
...
Already do not allow cons to be inlined, so it is (should be?) safe to pass any pairs directly through. Cannot make copies of any pairs except those between ptr and stack_top because that could cause equality checks to fail later on.
2017-04-24 17:40:08 +00:00
Justin Ethier
7a7419a3f4
Prevent null ref
2017-04-24 16:16:00 +00:00
Justin Ethier
5bc26c072a
Added the return_copy macro
2017-04-18 23:20:51 +00:00
Justin Ethier
4b8d143627
Cleanup
2017-04-05 18:08:08 -04:00
Justin Ethier
4f724b6eaf
Added inline function type
2017-04-04 08:09:30 +00:00
Justin Ethier
074dee7886
Exploring how define-c could inline functions
2017-04-03 13:37:27 +00:00
Justin Ethier
4e600a243a
Expose bignum helper functions
2017-03-29 07:11:04 +00:00
Justin Ethier
6d85b83240
WIP
2017-03-28 01:19:20 -04:00
Justin Ethier
a93c1e8cde
Added so generation and dl lib
2017-03-23 04:47:47 -04:00
Justin Ethier
ca68ab358a
Added fast char cmp prims
2017-03-20 18:17:40 -04:00
Justin Ethier
5585b01ea5
Fixup type
2017-03-15 16:49:12 +00:00
Justin Ethier
a714f57f97
Added Cyc_is_fixnum
2017-03-01 18:24:45 -05:00
Justin Ethier
3b932ebfc5
WIP
2017-02-28 18:27:48 -05:00
Justin Ethier
f2545f5ae2
Cleanup
2017-02-28 00:12:12 -05:00
Justin Ethier
e6eddc4963
Added doc string
2017-02-24 22:46:50 -05:00
Justin Ethier
3466698758
Updated docs
2017-02-24 17:35:01 -05:00
Justin Ethier
e6f6f563d5
Cleanup
2017-02-24 16:53:04 -05:00
Justin Ethier
7ac08e5342
WIP
2017-02-24 16:30:18 -05:00
Justin Ethier
2810e736db
Doxygen markup
2017-02-24 15:54:02 -05:00
Justin Ethier
331950d309
Primitive docs
2017-02-24 15:09:05 -05:00
Justin Ethier
8b906ddc8f
WIP
2017-02-24 13:48:59 -05:00
Justin Ethier
1002b53284
Reorganized for doxygen
2017-02-24 12:59:46 -05:00
Justin Ethier
240d5b165e
WIP
2017-02-23 23:05:32 -05:00
Justin Ethier
b8cd4f0035
Doxygen comments
2017-02-23 22:55:43 -05:00
Justin Ethier
27b77daa87
Value type docs
2017-02-23 21:12:33 -05:00
Justin Ethier
0acd61e9be
Cleanup for doxygen
2017-02-23 17:48:43 -05:00
Justin Ethier
af055ea80c
Added Cyc_remainder()
2017-02-21 00:42:11 -05:00
Justin Ethier
ea24b00361
Export int2bignum
2017-02-17 17:02:04 +00:00
Justin Ethier
80290db8d5
Get rid of remaining sources of bignum leaks
2017-02-17 14:46:10 +00:00
Justin Ethier
6d02427d1b
Get rid of make_empty_bignum
2017-02-17 13:58:48 +00:00
Justin Ethier
97d3acb3af
Remove assign_empty_bignum
2017-02-17 13:49:36 +00:00
Justin Ethier
876c1f0420
Cleanup, added gc_alloc_bignum()
2017-02-17 13:22:46 +00:00
Justin Ethier
53a9e2613f
Allow equal?
to recognize equal ints/bignums
2017-02-16 18:03:14 -05:00