Skip to main content

WIDE_SPANS

Static WIDE_SPANS 

Source
static WIDE_SPANS: LazyLock<Mutex<WideSpans>>
Expand description

The spans that don’t fit the packed representation of Span. We store them here once and refer to them by index. Entries are deduplicated so equal spans have equal representations.

This table is global and never shrinks. In practice this is fine; for instance, syn 2.0.104 only had distinct 36 spans here.