alla flaggor
trixie  ] [  sid  ]
[ Källkod: haskell-chimera  ]

Paket: libghc-chimera-dev (0.3.3.0-1 och andra)

Länkar för libghc-chimera-dev

Screenshot

Debianresurser:

Hämta källkodspaketet haskell-chimera:

Ansvariga:

Externa resurser:

Liknande paket:

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.

Andra paket besläktade med libghc-chimera-dev

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta libghc-chimera-dev

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Version Paketstorlek Installerad storlek Filer
amd64 0.3.3.0-1+b1 112,7 kbyte905,0 kbyte [filförteckning]
arm64 0.3.3.0-1+b1 112,0 kbyte1.097,0 kbyte [filförteckning]
mips64el 0.3.3.0-1+b1 151,3 kbyte1.713,0 kbyte [filförteckning]
ppc64el 0.3.3.0-1+b1 148,0 kbyte1.553,0 kbyte [filförteckning]
s390x 0.3.3.0-1+b1 141,0 kbyte1.559,0 kbyte [filförteckning]