Automatically gc during evaluation + perf improvements

Still ~25x slower than Python when calculating fib 27
This commit is contained in:
2022-11-29 23:40:50 -05:00
parent afaa53bb7f
commit c3e1fad491
11 changed files with 88 additions and 42 deletions

View File

@@ -45,7 +45,7 @@
#define TEST_ASSERT_LIST_LEN(list, len) \
do { \
TEST_ASSERT_OBJ_LIST(list); \
TEST_ASSERT_EQUAL_MESSAGE(len, ucl_list_length(state, list)->integer, "Unexpected list length"); \
TEST_ASSERT_EQUAL_MESSAGE(len, ucl_list_length_int(list), "Unexpected list length"); \
} while(0)
#define TEST_ASSERT_NIL(obj) \