Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 7.1% dependent packages on hackage.haskell.org

hackage.haskell.org : chimera

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.

Registry - Source - Homepage - JSON
purl: pkg:hackage/chimera
Keywords: bsd3, data, library, dynamic-programming, infinite-stream, lazy-streams, memoization, memoize, recursive-functions
License: BSD-3-Clause
Latest release: 26 days ago
First release: over 5 years ago
Dependent packages: 2
Dependent repositories: 7
Downloads: 4,362 total
Stars: 57 on GitHub
Forks: 7 on GitHub
Total Commits: 150
Committers: 4
Average commits per author: 37.5
Development Distribution Score (DDS): 0.033
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: 2 days ago

    Loading...
    Readme
    Loading...