Skip to main content

Module intern

Module intern 

Source
Expand description

The static string interner: workload-compile-time string constants with process lifetime. Every string literal, Const<&str> argument, and tile static run is interned at kernel build; a compiled step that produces such a constant publishes a (ptr, len) pair to the interned bytes, which never move and are never freed, so the pair has a proven owner for the life of the process (jit_boundary.md, axiom S7). Interning the same text twice yields the same bytes.

Structs§

StaticInterner
Global static string interner for compile-time constants.

Functions§

static_pair
The (ptr, len) pair of a static string, as a Ref2 output slot pair publishes it.