全部搜索项
trixie  ] [  sid  ]
[ 源代码:  ]

软件包:libghc-chimera-dev(0.3.3.0-1 以及其他的) [debports]

libghc-chimera-dev 的相关链接

Screenshot

Debian 的资源:

下载源码包

未找到

维护小组:

外部的资源:

相似软件包:

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

下载可用于所有硬件架构的
硬件架构 版本 软件包大小 安装后大小 文件
sparc64 (非官方移植版) 0.3.3.0-1+b1 185.9 kB2,390.0 kB [文件列表]