This package provides the 'ShortText' type which is suitable for keeping many short strings in memory. This is similiar to how 'ShortByteString' relates to 'ByteString'.
The main difference between 'Text' and 'ShortText' is that 'ShortText' uses UTF-8 instead of UTF-16 internally and also doesn't support zero-copy slicing (thereby saving 2 words). Consequently, the memory footprint of a (boxed) 'ShortText' value is 4 words (2 words when unboxed) plus the length of the UTF-8 encoded payload.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.1.5-150500.11.3.2 info | SUSE-SLE-Module-Packagehub-Subpackages-15-SP5-2024-572 | 2024-02-21 | 15 SP5 Subpackages Updates |
|
|
0.1.5-bp155.2.16 info | GA Release | 2023-05-22 | 15 SP5 |
|
|
0.1.5-bp154.1.11 info | GA Release | 2022-05-09 | 15 SP4 |
|
|