mirror of
https://github.com/janet-lang/janet
synced 2025-01-11 08:00:27 +00:00
Make JANET_STACK_MAX configurable option.
Also double default value from 8192 to 16384
This commit is contained in:
parent
3014a59c3e
commit
7d17159ae4
@ -178,7 +178,9 @@ extern "C" {
|
||||
/* Define max stack size for stacks before raising a stack overflow error.
|
||||
* If this is not defined, fiber stacks can grow without limit (until memory
|
||||
* runs out) */
|
||||
#define JANET_STACK_MAX 8192
|
||||
#ifndef JANET_STACK_MAX
|
||||
#define JANET_STACK_MAX 16384
|
||||
#endif
|
||||
|
||||
/* Use nanboxed values - uses 8 bytes per value instead of 12 or 16.
|
||||
* To turn of nanboxing, for debugging purposes or for certain
|
||||
|
Loading…
Reference in New Issue
Block a user