Skip to content
Sections
>> Trisquel >> Packages >> aramo >> haskell >> libghc-text-short-dev
nabia  ] [  aramo  ]
[ Source: haskell-text-short  ]

Package: libghc-text-short-dev (0.1.3-2build2)

memory-efficient representation of Unicode text strings

This Haskell library provides the 'ShortText' type which is suitable for keeping many short strings in memory. This is similiar to the relationship between 'ShortByteString' and 'ByteString'.

The main differences between 'Text' and 'ShortText' is that 'ShortText' uses UTF-8 instead of UTF-16 internally and 'ShortText' 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.

This package provides a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.

Other Packages Related to libghc-text-short-dev

  • depends
  • recommends
  • suggests

Download libghc-text-short-dev

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 89.3 kB795 kB [list of files]
arm64 96.5 kB997 kB [list of files]
armhf 93.9 kB818 kB [list of files]
ppc64el 113.6 kB1211 kB [list of files]