This commit is contained in:
blueloveTH 2024-01-19 20:04:03 +08:00
parent d64863fd43
commit d2becdb9f5

View File

@ -57,10 +57,9 @@
// The actual size in bytes equals `sizeof(void*) * PK_VM_STACK_SIZE`
#define PK_VM_STACK_SIZE 32768
// This is the maximum number of arguments in a function declaration
// including positional arguments, keyword-only arguments, and varargs
// This is the maximum number of local variables in a function
// (not recommended to change this / it should be less than 200)
#define PK_MAX_CO_VARNAMES 32
#define PK_MAX_CO_VARNAMES 64
// Hash table load factor (smaller ones mean less collision but more memory)
// For class instance