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

Paket: libghc-text-short-dev (0.1.2-5)

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.

Andere Pakete mit Bezug zu libghc-text-short-dev

  • hängt ab von
  • empfiehlt
  • schlägt vor

libghc-text-short-dev herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
amd64 78,0 kB681 kB [Liste der Dateien]
armhf 82,0 kB700 kB [Liste der Dateien]