1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-20 09:15:12 +00:00

Allow use of stack in gc.

This commit is contained in:
Calvin Rose
2018-09-23 17:10:41 -04:00
parent f0553e9da7
commit f5372dd188
2 changed files with 33 additions and 18 deletions

View File

@@ -1333,7 +1333,7 @@ int janet_init(void) {
* a collection pretty much every cycle, which is
* incredibly horrible for performance, but can help ensure
* there are no memory bugs during development */
janet_vm_gc_interval = 0x4000000;
janet_vm_gc_interval = 0x10000;
janet_symcache_init();
/* Initialize gc list */
janet_vm_gc_marklist = NULL;