Commit graph

446 commits

Author SHA1 Message Date
Justin Ethier
40c73203ce Issue #270 - Working through a solution 2018-08-06 20:15:06 -04:00
Justin Ethier
3431e37e0e Experiment with using a lower peak heap size 2018-08-03 11:46:23 -04:00
Justin Ethier
ebc3247aa7 Remove unused code 2018-07-31 22:54:39 -04:00
Justin Ethier
3369214c30 Cache number of unswept pages 2018-07-31 13:17:32 -04:00
Justin Ethier
dc89fbbc56 Added GC_COLLECT_UNDER_UNSWEPT_HEAP_COUNT
Also increased threshold from 2 to 3, to be a bit more aggresive with starting major GC's
2018-07-27 12:19:46 -04:00
Justin Ethier
a2073b7803 Renamed member variable to "is_unswept" 2018-07-25 18:33:47 -04:00
Justin Ethier
67c50608f0 Temporarily re-enabling 2018-07-17 13:18:59 -04:00
Justin Ethier
50eb431225 Fully-disable fixed-size heaps for now 2018-07-17 13:08:24 -04:00
Justin Ethier
7994354835 WIP: fixed-size heaps 2018-07-16 13:17:58 -04:00
Justin Ethier
bcb680f7f6 Disable debug traces 2018-07-10 17:31:41 -04:00
Justin Ethier
993e0a0864 Turn on debugging for now 2018-07-09 17:58:32 -04:00
Justin Ethier
17c454f2ec Integrate gc-perf3-dev changes with master 2018-07-02 18:56:03 -04:00
Justin Ethier
dba718ef63 Allow car/cdr to be inlined 2018-06-21 13:05:54 -04:00
Justin Ethier
c4a4f45527 Issue #263 - Fix compiler warning 2018-06-20 18:05:29 -04:00
Justin Ethier
b611520274 Optimize calls to (list) 2018-06-19 18:06:18 -04:00
Justin Ethier
f2704eb5e4 Experimenting with faster versions of (list) 2018-06-19 13:18:14 -04:00
Justin Ethier
79d490292f Revert changes for now 2018-06-14 18:09:43 -04:00
Justin Ethier
0d40488d2e Issue #262 - Attempt to prevent undefined behavior 2018-06-14 17:33:56 -04:00
Justin Ethier
f9fa7d9214 Added commend regarding pending writes 2018-06-11 17:59:34 -04:00
Justin Ethier
9e94d4ee46 Cut over to new mark buffer data structure 2018-06-11 13:30:02 -04:00
Justin Ethier
b4f4c9a182 Faster version of (eq?) 2018-06-08 18:08:04 -04:00
Justin Ethier
6bec04f9c4 Faster version of (boolean?) 2018-06-08 17:53:46 -04:00
Justin Ethier
596276f1ff Convert more funcs to macros 2018-06-08 16:51:08 -04:00
Justin Ethier
1d0654a9d7 Converted (vector?) to a macro 2018-06-08 16:34:55 -04:00
Justin Ethier
8622eb8241 Added TODO 2018-06-08 15:10:04 -04:00
Justin Ethier
44c246c38e Force inlining of Cyc_is_null
By redefining as a macro there is a large potential speed increase with certain programs, with very few changes on our end.
2018-06-08 15:06:11 -04:00
Justin Ethier
1fcf947dd3 Complex number support 2018-05-14 14:20:24 -04:00
Justin Ethier
89db7cca24 Issue #55 - More arithmetic op support for complex 2018-05-11 15:40:20 -04:00
Justin Ethier
03f5e35c3a Added Cyc_is_complex 2018-05-10 13:35:11 -04:00
Justin Ethier
9c64faa3df Very basic comparison functionality for complex nums 2018-05-10 13:20:17 -04:00
Justin Ethier
9dddfb882f Issue #55 - Adding more complex number support 2018-05-07 20:48:53 -04:00
Justin Ethier
3c467516c3 Issue #55 - Add complex_num_type definition 2018-05-08 13:41:00 -04:00
Justin Ethier
2cd96058eb Add fast assoc by cdr 2018-02-14 13:00:43 -05:00
Justin Ethier
91a7df51dc Added alloc_bytevector macro 2018-01-03 14:37:28 -05:00
Justin Ethier
e95f29aaf8 Added the alloc_string macro
This allows allocation of a string using either the stack for small strings or our GC'd heap if the string exceeds the maximum stack size.
2018-01-01 18:48:04 -05:00
Justin Ethier
4b8c53c088 Issue #236 - Added C functions for single-byte I/O 2017-12-18 17:27:53 -05:00
justin
5491180e8c Prevent warning on 32-bit platforms 2017-11-14 13:13:12 -05:00
Justin Ethier
42507606a5 Added Cyc_string_byte_length() 2017-11-06 17:54:00 +00:00
Justin Ethier
d431b2af1c Updated Cyc_io_read_line to prevent truncation
Ensure last codepoint is fully-read before returning
2017-11-06 13:19:31 +00:00
Justin Ethier
a38295b22b WIP 2017-10-30 17:52:16 +00:00
Justin Ethier
3783da2674 WIP - obj_obj2char fixes 2017-10-30 13:17:37 +00:00
Justin Ethier
0bcce5038e WIP 2017-10-27 17:18:29 +00:00
Justin Ethier
8289eca02a Remove obsolete function 2017-10-27 13:02:51 +00:00
Justin Ethier
703f863e48 Fixes for make-string 2017-10-26 21:56:35 +00:00
Justin Ethier
aa0b0a7567 Added UTF8 encoder, final version of string->utf8 2017-10-25 18:35:11 -04:00
Justin Ethier
13e260300f Added utility function and stubs 2017-10-24 17:53:43 -04:00
Justin Ethier
3e64420101 Added UTF8 support to Cyc_substring 2017-10-23 17:43:37 -04:00
Justin Ethier
8b817966e8 WIP 2017-10-23 13:26:29 +00:00
Justin Ethier
ac8b280578 Refactoring, added make_utf8_string 2017-10-20 16:29:56 +00:00
Justin Ethier
ccad990626 Beginning to change string type 2017-10-20 13:28:16 +00:00