aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 00fae8a..5365829 100644
--- a/src/config.h
+++ b/src/config.h
@@ -9,6 +9,24 @@
#define MAX_PORT 5
+// ------------------------------------------------
+// Maximum Number of VMCode Sequence
+// ------------------------------------------------
+// MAX_VMCODE_SEQUENCE defines the maximum number of VM codes
+// for each rule. This value limits the code size stored in the RuleTable.
+// Default is 1024.
+#define MAX_VMCODE_SEQUENCE 1024
+
+// MAX_EXEC_VMCODE_SEQUENCE defines the maximum number of VM codes
+// for the top-level execution.
+// This buffer for this is dynamically allocated
+// at the start of the top-level execution
+// and de-allocated immediately after the compilation and execution finish.
+// Default is 1000000.
+#define MAX_EXEC_VMCODE_SEQUENCE 1000000
+
+
+
// ------------------------------------------------
// Heaps