pub fn pin<S: AsRef<str>>(text: S) -> SymStrExpand description
Assign a string into the arena, returning a unique symbol.
No overflow guard: the main-level wall-clock watchdog (watchdog.rs)
catches genuinely runaway loops that would eventually saturate the
BufferBackend’s u32 byte-offset range (~4.29 GB) long before any
real-world workload approaches it. Earlier versions had both a
call-count and a distinct-symbol sentinel; the call-count one
false-fired on dedup-heavy hot loops, and the distinct-symbol one
added a per-call arena.len() read on a hot path (~350k calls
per doc). Neither cost was paying for itself.