Source Package: ghc-text-short (0.1.6-6.fc43)
Memory-efficient representation of Unicode text strings
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 information
- Homepage
- [https://hackage.haskell.org/package/text-short]
- License
- BSD-3-Clause
- Mainteneur du paquet aval
- qulogicObserved Nov 20, 2026 [source]
The following binary packages are built from this source package:
- ghc-text-short
Memory-efficient representation of Unicode text strings
- ghc-text-short-devel
Haskell text-short library development files
- ghc-text-short-doc
Haskell text-short library documentation
- ghc-text-short-prof
Haskell text-short profiling library
