Skip to main content

WRITTEN_TERM_MAX_SIZE

Constant WRITTEN_TERM_MAX_SIZE 

Source
pub const WRITTEN_TERM_MAX_SIZE: usize = _; // 33usize
Expand description

Upper bound on encoded term size for buffer pre-allocation.

The largest variants (the two-term lang-string / typed-literal families, type byte + two 16-byte halves) encode to 33 bytes — reserving only 16 + 16 overflowed the reservation into the first grow_one on exactly those rows.