The latest version of text-short is 0.1.6-3.
text-short
Version 0.1.4 revision 1 uploaded by phadej.
Package meta
- Synopsis
- Memory-efficient representation of Unicode text strings
- 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.
- Author
- Herbert Valerio Riedel
- Bug reports
- https://github.com/hvr/text-short/issues
- Category
- Data
- Copyright
- n/a
- Homepage
- n/a
- Maintainer
- hvr@gnu.org
- Package URL
- n/a
- Stability
- n/a