4 ms·
"a persistent data structure is a data structure that always preserves the previous version of itself when it is modified. Such data structures are effectively
by toolslive 6y ago
"a persistent data structure is a data structure that always preserves the previous version of itself when it is modified. Such data structures are effectively immutable, as their operations do not (visibly) update the structure in-place, but instead always yield a new updated structure. The term was introduced in Driscoll, Sarnak, Sleator, and Tarjans' 1986 article".
It's effectively the same thing.
A third name for the same thing is "append only".
- kreetx 6y agoIn databases I think what they mean with persistence is writing to disk, i.e committing to the new state. Immutable on the other hand appears to mean a similar thing both in databases and data structures.