64
total weekly downloads
14 packages
cyclebench
Comparative benchmarking that interleaves candidates to cancel machine drift, cross-validates their results, and refuses to crown a function that computes the wrong thing.
exact-sum
Floating-point summation as an accuracy ladder: naive, pairwise, Neumaier compensated, and correctly rounded exact summation.
figurate
Exact BigInt arithmetic for figurate (polygonal) numbers: forward evaluation, membership, index recovery, and iterators for triangular, pentagonal, generalized pentagonal, and every s-gonal family.
heap-estimate
Retained-heap estimates for JavaScript values, calibrated against real V8 heap deltas.
interval64
Rigorous binary64 interval arithmetic with proof-directed, correctly rounded bounds.
isoequal
Deep equality that actually handles cyclic structures and unordered collections — Sets, Maps, and anything declaring the unordered-collection protocol — under sound, sharing-sensitive isomorphism semantics.
memotuple
Memoization with explicit identity, structural-value, and self-disabling key semantics.
multisect
Set-theoretic operations on arrays with counted multiset semantics, sorted merge paths, and explicit order contracts.
oplog-undo
Undo and redo as an append-only operation log of compensating operations — one artifact for history, replay, audit, and persistence.
pmf64
Finite binary64 probability measures with explicit independence, accountable compression, and density-aware elicitation.
tuple-keyed-map
A Map keyed by tuples whose entries are garbage-collected when their object components die — WeakMap edges for objects, Map edges for primitives, and a single-walk getOrInsert.
valuehash
Exact canonical value keys for JavaScript, with an optional compact 32-bit hash.
weak-collections
Weak data structures and lifetime instruments for JavaScript: iterable weak sets and maps, weak-value maps, composite-key ephemeron maps, weak memoization, bidirectional weak maps, GC-aware LRU caches, self-pruning weak graphs, weak-subscriber emitters, c
@xyrasinclair/v8-shape
Mechanical-sympathy primitives for packed V8 arrays and monomorphic plain-object shapes, with engine-level receipts.