From fe97dadef0a6bd009998952a3183ec6822cf6fbc Mon Sep 17 00:00:00 2001 From: Shinya Sato Date: Mon, 16 Mar 2026 15:17:54 +0900 Subject: v0.13.2 --- src/config.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/config.h') 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 -- cgit v1.2.3