performance optimization of vm/lex/parse/test

This commit is contained in:
ValKmjolnir
2021-06-24 00:26:26 +08:00
parent f0565c7de6
commit a734b99beb
8 changed files with 205 additions and 292 deletions
+1 -1
View File
@@ -234,7 +234,7 @@ std::string nasal_val::to_string()
struct nasal_gc
{
#define STACK_MAX_DEPTH (65536<<1)
#define STACK_MAX_DEPTH (65536)
nasal_val* zero_addr; // reserved address of nasal_val,type vm_num, 0
nasal_val* one_addr; // reserved address of nasal_val,type vm_num, 1
nasal_val* nil_addr; // reserved address of nasal_val,type vm_nil