diff options
| author | Shinya Sato <shinnya.sato@gmail.com> | 2026-03-16 15:17:54 +0900 |
|---|---|---|
| committer | Shinya Sato <shinnya.sato@gmail.com> | 2026-03-16 15:17:54 +0900 |
| commit | fe97dadef0a6bd009998952a3183ec6822cf6fbc (patch) | |
| tree | 1a38e6f83d24ffd982ed4ce857931194ae6b2887 /src/config.h | |
| parent | 611f901b6eae110a4936e6b50cc171e781ac295d (diff) | |
| download | inpla-fe97dadef0a6bd009998952a3183ec6822cf6fbc.tar.gz inpla-fe97dadef0a6bd009998952a3183ec6822cf6fbc.zip | |
v0.13.2
Diffstat (limited to 'src/config.h')
| -rw-r--r-- | src/config.h | 18 |
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 |
