Fedora Packages

ghc-text-short

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.

Releases Overview

Release Stable Testing
Fedora Rawhide 0.1.5-6.fc40 -
Fedora 40 0.1.5-6.fc40 -
Fedora 39 0.1.5-4.fc39 -
Fedora 38 0.1.5-2.fc38 -
File a new bug report »
Package Info
Related Packages

You can contact the maintainers of this package via email at ghc-text-short dash maintainers at fedoraproject dot org.



Sources on Pagure