全部搜尋項
trixie  ] [  sid  ]
[ 原始碼: haskell-chimera  ]

套件:libghc-chimera-dev(0.3.3.0-1 以及其他的)

libghc-chimera-dev 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 haskell-chimera

維護小組:

外部的資源:

相似套件:

lazy infinite compact streams with cache-friendly O(1) indexing

There are plenty of memoizing libraries on Hackage, but they usually fall into two categories:

* Store cache as a flat array, enabling us to obtain cached values in O(1) time, which is nice. The drawback is that one must specify the size of the array beforehand, limiting an interval of inputs, and actually allocate it at once. * Store cache as a lazy binary tree. Thanks to laziness, one can freely use the full range of inputs. The drawback is that obtaining values from a tree takes logarithmic time and is unfriendly to CPU cache, which kinda defeats the purpose.

This package intends to tackle both issues, providing a data type 'Chimera' for lazy infinite compact streams with cache-friendly O(1) indexing.

Additional features include:

* memoization of recursive functions and recurrent sequences, * memoization of functions of several, possibly signed arguments, * efficient memoization of boolean predicates.

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

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

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 libghc-chimera-dev

下載可用於所有硬體架構的
硬體架構 版本 套件大小 安裝後大小 檔案
alpha (非官方移植版) 0.3.3.0-1 160。5 kB1,719。0 kB [檔案列表]
amd64 0.3.3.0-1+b1 112。7 kB905。0 kB [檔案列表]
arm64 0.3.3.0-1+b1 112。0 kB1,097。0 kB [檔案列表]
ia64 (非官方移植版) 0.3.3.0-1+b1 186。8 kB3,467。0 kB [檔案列表]
mips64el 0.3.3.0-1+b1 151。3 kB1,713。0 kB [檔案列表]
ppc64 (非官方移植版) 0.3.3.0-1+b2 140。3 kB1,702。0 kB [檔案列表]
ppc64el 0.3.3.0-1+b1 148。0 kB1,553。0 kB [檔案列表]
riscv64 0.3.3.0-1+b2 166。5 kB1,678。0 kB [檔案列表]
s390x 0.3.3.0-1+b1 141。0 kB1,559。0 kB [檔案列表]
sparc64 (非官方移植版) 0.3.3.0-1+b1 185。9 kB2,390。0 kB [檔案列表]