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
Justin Ethier
284dc05128
Use Cyc_expt()
2017-02-17 00:03:07 -05:00
Justin Ethier
670d5a0e98
Improve range checks
2017-02-16 04:01:00 -05:00
Justin Ethier
ad51bc7e80
Preliminary bignum integration
2017-02-16 02:38:57 -05:00
Justin Ethier
5c77948a00
WIP
2017-02-16 00:14:10 -05:00
Justin Ethier
58d5c47486
WIP
2017-02-13 16:47:38 +00:00
Justin Ethier
a9f45d8fb5
Starting to check for over/under flow
2017-02-10 22:41:10 -05:00
Justin Ethier
b9d6d5d873
WIP - reading bignums
2017-02-10 00:37:41 -05:00
Justin Ethier
b9c8d2abf4
WIP for libtommath
2017-02-08 18:33:20 -05:00
Justin Ethier
7f43c7d1a1
Clarify usage of integer_type
2017-01-30 17:47:08 -05:00
Justin Ethier
e5e4d24959
Remove errant period
2017-01-30 17:43:35 -05:00
Justin Ethier
57562071c9
Issue #158 - Removed make_int macro
...
Also removed some related code that became redundant.
2017-01-30 16:54:23 +00:00