A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
a11::flow::CompilationLimits Struct Reference

Host-controlled bounds shared by parsing, linking and semantic analysis. More...

#include <cpp/a11/flow/limits.h>

Public Attributes

size_t max_modules = 256
 
size_t max_source_bytes = 8 * 1024 * 1024
 
size_t max_depth = 128
 
size_t max_nesting = 128
 
size_t max_tokens = 250000
 
size_t max_work = 2000000
 
size_t max_linked_name_bytes = 64 * 1024 * 1024
 
size_t max_duration_ms = 5000
 

Detailed Description

Host-controlled bounds shared by parsing, linking and semantic analysis.

Member Data Documentation

◆ max_depth

size_t a11::flow::CompilationLimits::max_depth = 128

◆ max_duration_ms

size_t a11::flow::CompilationLimits::max_duration_ms = 5000

◆ max_linked_name_bytes

size_t a11::flow::CompilationLimits::max_linked_name_bytes = 64 * 1024 * 1024

◆ max_modules

size_t a11::flow::CompilationLimits::max_modules = 256

◆ max_nesting

size_t a11::flow::CompilationLimits::max_nesting = 128

◆ max_source_bytes

size_t a11::flow::CompilationLimits::max_source_bytes = 8 * 1024 * 1024

◆ max_tokens

size_t a11::flow::CompilationLimits::max_tokens = 250000

◆ max_work

size_t a11::flow::CompilationLimits::max_work = 2000000

The documentation for this struct was generated from the following file: