./textproc/hs-text-short, Memory-efficient representation of Unicode text strings

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.1.6nb1, Package name: hs-text-short-0.1.6nb1, Maintainer: pkgsrc-users

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 doesn't support
zero-copy slicing (thereby saving 2 words), and, compared to text-1.*, that it
uses UTF-8 instead of UTF-16 internally. 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.


Required to run:
[devel/hs-hashable] [lang/ghc94]

Master sites:

Filesize: 24.112 KB

Version history: (Expand)


CVS history: (Expand)


   2025-02-02 14:06:08 by Masatake Daimon | Files touched by this commit (1173)
Log message:
Bump all Haskell packages after switching the default compiler.
   2025-01-30 05:39:36 by Masatake Daimon | Files touched by this commit (4) | Package updated
Log message:
textproc/hs-text-short: update to text-short-0.1.6

## 0.1.6

  * Drop support for GHC prior 8.6.5
  * Support GHC-9.10 (base-4.21)
   2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137)
Log message:
Recursive revbump after changing the default Haskell compiler
   2024-04-29 18:23:37 by Masatake Daimon | Files touched by this commit (2)
Log message:
textproc/hs-text-short: Fix build with GHC 9.8

This breaks build with the currently default GHC 9.6. Please bear with me
until I switch the default compiler.
   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-28 16:25:41 by Masatake Daimon | Files touched by this commit (1)
Log message:
textproc/hs-text-short: Fix build with GHC 9.6
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94
   2023-01-25 17:30:56 by Masatake Daimon | Files touched by this commit (2)
Log message:
textproc/hs-text-short: Fix build with GHC 9.4