Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> haskell >> libghc-store-dev
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: haskell-store  ]

套件: libghc-store-dev (0.7.6-1build2)

Fast binary serialization

The 'store' package provides efficient binary serialization. There are a couple features that particularly distinguish it from most prior Haskell serialization libraries:

 * Its primary goal is speed. By default, direct machine representations
   are used for things like numeric values (Int, Double, Word32, etc)
   and buffers (Text, ByteString, Vector, etc). This means that much of
   serialization uses the equivalent of memcpy.
 * Instead of implementing lazy serialization / deserialization involving
   multiple input / output buffers, peek and poke always work with a
   single buffer. This buffer is allocated by asking the value for its
   size before encoding. This simplifies the encoding logic, and allows
   for highly optimized tight loops.
 * store can optimize size computations by knowing when some types always
   use the same number of bytes. This allows for computing the byte size
   of a `Vector Int32` by just doing `length v * 4`.

It also features:

 * Optimized serialization instances for many types from base, vector,
   bytestring, text, containers, time, template-haskell, and more.
 * TH and GHC Generics based generation of Store instances for datatypes
 * TH generation of testcases

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

其他與 libghc-store-dev 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 libghc-store-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
amd64 714.0 kB8876 kB [文件列表]
arm64 1,037.2 kB12947 kB [文件列表]
armhf 1,113.0 kB11835 kB [文件列表]
ppc64el 1,362.1 kB18838 kB [文件列表]