Commit graph

217 commits

Author SHA1 Message Date
Justin Ethier
f091d0267e Unsafe (length) 2019-11-26 23:06:01 -05:00
Justin Ethier
0651716196 Unsafe vector-set 2019-11-26 22:58:24 -05:00
Justin Ethier
c30bf50b5d Fix unsafe car/cdr 2019-11-26 16:11:57 -05:00
Justin Ethier
0e407ea9da Unsafe prims compiler option 2019-11-26 15:45:49 -05:00
Justin Ethier
537e8bc975 Experimenting with unsafe prims 2019-11-26 15:37:52 -05:00
Justin Ethier
e6c23e25c1 Issue #337
Added `open-binary-input-file` and `open-binary-output-file` from R7RS.
2019-09-15 10:40:06 -04:00
Justin Ethier
60e9007d57 Speed up (complex?) 2019-09-13 12:31:18 -04:00
Justin Ethier
1edb877c5f Speed up vector for five args or less 2019-08-02 12:13:30 -04:00
Justin Ethier
4b6b672892 Added Cyc_is_immutable 2019-06-11 17:46:16 -04:00
Justin Ethier
015b9b2a41 Add check for obj type 2019-06-03 13:24:42 -04:00
Justin Ethier
7bd77e1ac3 Added checks for immutable objs 2019-06-03 13:18:08 -04:00
Justin Ethier
5f517f6029 Add typecheck 2019-05-30 18:42:02 -04:00
Justin Ethier
ddd057f97b WIP 2019-05-30 13:18:50 -04:00
Justin Ethier
a29e731d94 Insure optional arg pairs are mutable 2019-05-16 17:46:42 -04:00
Justin Ethier
3cb234402d Added checks for immutable flag 2019-05-01 13:11:05 -04:00
Justin Ethier
549bb59937 Micro-optimization - turn Cyc_st_add into a macro 2019-03-28 12:21:15 -04:00
Justin Ethier
f64d429ab8 WIP 2019-02-28 09:43:58 -05:00
Justin Ethier
7c8076e433 Added Cyc_is_list() 2018-12-12 13:10:10 -05:00
Justin Ethier
87267600d2 Remove data param 2018-12-05 17:39:02 -05:00
Justin Ethier
07dd9c7ef5 New fast list functions 2018-12-04 22:54:53 -05:00
Justin Ethier
369b6f3c77 More static functions 2018-11-27 10:32:18 -05:00
Justin Ethier
c9551d6ac8 Revert previous change 2018-11-26 17:11:00 -05:00
Justin Ethier
ac5ee210f5 Added Cyc_string_append2 2018-11-26 16:46:27 -05:00
Justin Ethier
639d3b1438 one more static declaration 2018-11-26 11:00:28 -05:00
Justin Ethier
2b5253d5ca Declare Cyc_utf8_decode as static to improve performance 2018-11-26 10:47:02 -05:00
Justin Ethier
d20496318f Added more docs 2018-08-24 13:16:29 -04:00
Justin Ethier
dba718ef63 Allow car/cdr to be inlined 2018-06-21 13:05:54 -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
03f5e35c3a Added Cyc_is_complex 2018-05-10 13:35:11 -04:00
Justin Ethier
9dddfb882f Issue #55 - Adding more complex number support 2018-05-07 20:48:53 -04:00
Justin Ethier
2cd96058eb Add fast assoc by cdr 2018-02-14 13:00:43 -05:00
Justin Ethier
4b8c53c088 Issue #236 - Added C functions for single-byte I/O 2017-12-18 17:27:53 -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
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
ac8b280578 Refactoring, added make_utf8_string 2017-10-20 16:29:56 +00:00
Justin Ethier
71c7ed3e7f Cleanup and added UTF 8 definitions to header file 2017-10-20 12:54:13 +00:00
Justin Ethier
ad4309416a Added Cyc_check_opaque 2017-10-04 17:19:24 -04:00
Justin Ethier
2d7839c264 WIP 2017-08-11 17:25:14 +00:00
Justin Ethier
b913edcc9f Experimenting with inline of Cyc_is_pair 2017-07-10 13:48:44 +00:00