Skip to main content

Module strings

Module strings 

Source
Expand description

The global, append-only string table.

Ids are assigned on first encounter. The default profile orders strings by their UTF-8 bytes (StringOrder::Text), so ids carry no order there. Under --compat=tlc strings compare by intern token (StringOrder::Token), which reproduces UniqueString.compareTo: the id is the token, so the table must first be fed TLC’s startup encounter order with Strings::preload.

Structs§

Strings
The string table.
StringsMemory
Known storage and opaque index capacity of an append-only string table.

Enums§

StringOrder
How strings compare.