13 个仓库
Collections and containers designed for immutability and performance.
Explore 13 awesome GitHub repositories matching part of an awesome list · Persistent Data Structures. Refine with filters or upvote what's useful.
This is a persistent data structure library for JavaScript that provides collections which prevent the direct mutation of objects and arrays. It serves as an immutable state management tool and functional programming utility, ensuring that data remains unchanged after creation to simplify change detection and state tracking. The library enables the maintenance of application state by producing new versions of data structures during updates. It focuses on efficient data comparison by checking actual content instead of memory references and supports a functional programming workflow to prevent
Persistent immutable data collections for JavaScript.
Immer is an immutable state management library for JavaScript that enables the creation of new versions of state trees. It functions as a state container that uses a proxy-based handler to ensure data immutability. The library utilizes a copy-on-write mechanism and a draft-based mutation model. This allows users to write mutating code on a temporary proxy, which the system then uses to produce a new immutable result while keeping the original state unchanged. The project covers immutable state management and complex object cloning to facilitate predictable state transitions. These capabiliti
Immutable state management using copy-on-write mechanisms.
Lazy.js is a JavaScript library that implements a lazy evaluation model for processing collections and data streams. It defers all computation until iteration begins, building chains of transformations that execute only when values are consumed, avoiding intermediate arrays and buffering. The library wraps data sources into a uniform sequence interface, enabling operations like map and filter to be chained together without materializing intermediate results. The library extends lazy processing beyond simple collections to handle asynchronous data sources, DOM events, strings, and Node.js stre
Utility library with a lazy evaluation engine.
ClojureScript's persistent data structures and supporting API from the comfort of vanilla JavaScript
ClojureScript persistent data structures for vanilla JavaScript.
JavaScript & TypeScript persistent and optionally immutable data tree with cursors.
Persistent data tree with cursor-based access.
🐆 An immutable list with unmatched performance and a comprehensive functional API.
Fast immutable list with a comprehensive functional API.
TypeScript-STL (Standard Template Library, migrated from C++)
TypeScript implementation of C++ Standard Template Library containers.
Functional Reactive State for JavaScript and TypeScript
Functional reactive state management for JS and TS.
Utilities for treating frozen JavaScript objects as persistent immutable collections
Utilities for treating frozen objects as persistent collections.
Functional programming, immutable collections and FP constructs for typescript and javascript
Immutable persistent collections and functional constructs.
High-performance immutable data structures for modern JavaScript and TypeScript applications. Functional interfaces, deep/composite operations API, mixed mutability API, TypeScript definitions, ES2015 module exports.
High-performance immutable data structures for modern apps.
😴 Functional programming with lazy immutable iterables
Library for manipulating lazy iterables.
High performance implementation of Immutable Sequence in JavaScript, based on Finger Tree.
High-performance immutable sequence implementation.