Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> haskell >> libghc-text-short-prof
nabia  ] [  aramo  ]
[ 源代码: haskell-text-short  ]

软件包: libghc-text-short-prof (0.1.2-5)

memory-efficient representation of Unicode text strings; profiling libraries

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, compiled for profiling. See http://www.haskell.org/ for more information on Haskell.

其他与 libghc-text-short-prof 有关的软件包

  • 依赖
  • 推荐
  • 建议

下载 libghc-text-short-prof

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 66.7 kB546 kB [文件列表]
armhf 70.4 kB489 kB [文件列表]