Persistent Data Structure
A data structure design pattern in which modification operations do not change data in place but return a new version sharing most of its structure, with the old version remaining usable. It supports efficient state snapshots and rollback.
Timeline (last 90 days)
Modern FP languages reduce unnecessary copying through compiler optimizations (such as lazy evaluation and fusion) and persistent data structures, thereby narrowing the performance gap with C.
Structural sharing is the key mechanism by which persistent data structures achieve low copying cost, reusing unaffected parts upon modification and creating only the path from the modification point to the root node.
All Facts (2)
Modern FP languages reduce unnecessary copying through compiler optimizations (such as lazy evaluation and fusion) and persistent data structures, thereby narrowing the performance gap with C.
50%UnverifiedStructural sharing is the key mechanism by which persistent data structures achieve low copying cost, reusing unaffected parts upon modification and creating only the path from the modification point to the root node.
50%