4 ms·
lol the word "persistent" is itself ambiguous an have conflicting meaning: 1-https://en.wikipedia.org/wiki/Persistence_(computer_science) https://en.wikipedia.
by skyde 5y ago
lol the word "persistent" is itself ambiguous an have conflicting meaning:
1-https://en.wikipedia.org/wiki/Persistence_(computer_science) https://en.wikipedia.org/wiki/Persistence_(computer_science)
In computer science, persistence refers to the characteristic of state of a system that outlives (persists more than) the process that created it.
2- https://en.wikipedia.org/wiki/Persistent_data_structure https://en.wikipedia.org/wiki/Persistent_data_structure
In computing, a persistent data structure or not ephemeral data structure is a data structure that always preserves the previous version of itself when it is modified.
- armchairhacker 5y agoI usually distinguish "readonly" values (references which block mutation, but you can mutate via another reference) and "immutable" values (what OP calls persistent, where modification may copy-on-write but you're certain the original reference won't mutate).
- gpderetta 5y agoYes, first time I read about persistent data structures, I thought it had something to do with mmap :).