Expand description
VM constants and configuration values
Constantsยง
- DEFAULT_
CALL_ STACK_ CAPACITY - Initial capacity for the call stack Vec
- DEFAULT_
GC_ TRIGGER_ THRESHOLD - Default GC trigger threshold (instructions between collections)
- DEFAULT_
STACK_ CAPACITY - Default stack capacity for VM execution
- EXACT_
F64_ INT_ LIMIT - Maximum integer magnitude that can be losslessly represented as an f64. 2^53 = 9_007_199_254_740_992. Used by both arithmetic and comparison modules to reject mixed int/float operations that would lose precision.
- MAX_
CALL_ STACK_ DEPTH - Maximum call stack depth
- MAX_
STACK_ SIZE - Maximum stack size (safety limit)