Alle Optionen
trixie  ] [  sid  ]
[ Quellcode: haskell-chimera  ]

Paket: libghc-chimera-doc (0.3.3.0-1)

Links für libghc-chimera-doc

Screenshot

Debian-Ressourcen:

Quellcode-Paket haskell-chimera herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

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

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 the documentation for a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.

Andere Pakete mit Bezug zu libghc-chimera-doc

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

libghc-chimera-doc herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 75,5 kB836,0 kB [Liste der Dateien]