This is a string type for compactly storing short strings of statically-known size. Each character is stored in one byte, so currently only the Latin-1 subset of Unicode is supported.
To use, call
n is the length and
itr is an iterable
of characters. Alternatively, other string types can be converted to
FixedSizeStrings works well in the following cases:
If you have a large array with a relatively small number of unique strings, it is
probably better to use
PooledArrays with whatever string type is convenient.
TODO and open questions:
MaxLengthString, which is the same except can be padded with 0 bytes to represent fewer than the maximum possible number of characters.
8 months ago