Memory-efficient representation of Unicode text strings
42.06 KB
built 2026-10-14 03:17:09 GMT
Description
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.
Dependencies
16 totalRequires14
- ghc-Cabal-devel
- ghc-base-devel
- ghc-binary-devel
- ghc-bytestring-devel
- ghc-deepseq-devel
- ghc-hashable-devel
- ghc-rpm-macros
- ghc-tasty-devel
- ghc-tasty-hunit-devel
- ghc-tasty-quickcheck-devel
- ghc-template-haskell-devel
- ghc-text-devel
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides2
- ghc-text-short = 0.1.6.1-2.fc45
- ghc-text-short-devel = 0.1.6.1-2.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| ghc-text-short.spec | 8.45 KB |
| text-short-0.1.6.1.tar.gz | 24.12 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
